Presentation is loading. Please wait.

Presentation is loading. Please wait.

ASP.NET 5 Visual Studio Code Bill Wolff July 8, 2015.

Similar presentations


Presentation on theme: "ASP.NET 5 Visual Studio Code Bill Wolff July 8, 2015."— Presentation transcript:

1 ASP.NET 5 Visual Studio Code Bill Wolff July 8, 2015

2 Visual Studio Code Home page – https://code.visualstudio.com/ https://code.visualstudio.com/ Versions – 0.5.0 for Windows, July 2015 – Linux x64, OS X Docs – https://code.visualstudio.com/Docs https://code.visualstudio.com/Docs

3 Command Line Install adds CODE to path Open with filename(s) – optional line/character position – code -g c:\mycode\HelloWorld.ts:10:17 Open most recent – code –r Open folder and/or a file – Code. project.json

4 Code UI File and folder based with working files set – Shows changed files or enable autosave Viewbar – Explorer, Search, Git, Debug Sidebar – Toggle visibility ctrl B, or move to right Zoom with ctrl +/ctrl -, full screen with F11 3 Themes Split edit ctrl /

5 Editing Files click to open one file ctrl click to open a second file Split a file for a third pane – ctrl E to change to a new file Drag panes to rearrange Resize panes as needed – Click any pane and size applies to selected pane – alt left and right cycle through files Zoom applies to all panes, activity, side bar

6 Search Find in files ctrl shift F or use Activity Bar – Partial word – Full word – Case sensitive – Regular Expressions File include/exclude ctrl shift J – Check configuration – Or right click folder and select Find in Folder

7 Command Pallette ctrl shift P with smart typeahead – > to run commands – Back over > for recent files (or do ctrl E) File name typeahead, or repeat ctrl E, ctrl P, ctrl Tab – ? help – ! errors and warnings – # symbol by name – @ and : goto symbol or line – Also git, task, …

8 Editing Bracket matching ctrl shift ] Multi cursors alt click Intellisense ctrl Space with parameter hints Snippets with Emmet abbreviations, TextMate Gutter indicators Peek alt F12 and hover Reference information Code actions

9 Languages Syntax: Batch, C++, Clojure, Coffee Script, DockerFile, F#, Go, Jade, Java, HandleBars, Ini, Lua, Makefile, Markdown, Objective-C, Perl, PHP, PowerShell, Python, R, Razor, Ruby, Rust, SQL, Visual Basic, XML Intellisense: CSS, HTML, JavaScript, JSON, Less, Sass Refactor/references: C#, TypeScript – Uses Roslyn and OmniSharp

10 Version Control Git support – Must install git first – Local or remote repos – Visual Studio Online is an option Credential helper recommended

11 Debugging Node.js – Breakpoints – Data inspection – Debug actions C# on Mono Soon.NET – ASP.NET 5 not ready yet – Roslyn changes output flow

12 Tasks Stored in.settings folder – tasks.json Sample tools: – Make, Ant, Gulp, Jake, Rake and MSBuild


Download ppt "ASP.NET 5 Visual Studio Code Bill Wolff July 8, 2015."

Similar presentations


Ads by Google