7/2/2018 3:48 AM BRK3394: Visual Studio Code The most useful (and underused!) tips and tricks Chris Dias Principal Program Manager VS Code © Microsoft.

Slides:



Advertisements
Similar presentations
MIX 09 4/15/ :14 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Advertisements

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Web Client Keyboard Shortcuts © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Session 1.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Customer Combiner and Modifier © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.

demo Demo.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks.
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.

Microsoft Teams Behind the Scenes – Q&A
Create beautiful, fast, interactive pages in SharePoint
From IT Pros to IT Heroes - with Azure DevTest Labs
Azure File Sync Setup, configuration and management
6/5/2018 1:30 PM THR1029 Spend less time managing data and more time with customers: Quick tour of Outlook Customer Manager Welly Lee
Azure Cloud Shell Magic of Modern Command-line Management
TFS Database Import Service for Visual Studio Team Services
Do more with Microsoft Word and Office 365
Get Typed with TypeScript!
Optimizing Microsoft OneDrive for the enterprise
What a Real, Functioning DevOps Team Looks Like
Virtual Machine Diagnostics in Microsoft Azure
SQL Server on Linux on All-Flash Arrays
Workflow Orchestration with Adobe I/O
Customize Office 365 Search and create result sources
How we got a traditional bank collaborating across boundaries
Automate all things! Microsoft Azure continuous deployment
Modern Front-End Web Development with Visual Studio
Agile Planning with Visual Studio Team Services (VSTS)
Tips and Tricks in Visual Studio 2017
9/22/2018 3:49 AM BRK2247 Learn from MVPs: Panel discussion on all things SharePoint and OneDrive © Microsoft Corporation. All rights reserved. MICROSOFT.
Confidence at speed: Visual Studio 2017 and your CI pipeline
Azure PowerShell Aaron Roney Senior Program Manager Cormac McCarthy
Nick Trogh Technical Evangelist, Microsoft.
11/15/ :59 AM THR2294 Building great looking experiences with Microsoft Graph and Office UI Fabric Ben Summers Office Marketing David Lavenda Harmon.ie.
Continuous Delivery with Visual Studio Team Services
Supercharge Microsoft Teams using Teams apps in node.js
Azure Advisor: Optimization in the best way
Mobile Center and VSTS:​ Better together for your Mobile DevOps
Super Charge Your Debugging in Visual Studio
Microsoft products for non-profits
Five cool things you can do with Windows PowerShell on Office 365
Microsoft To-Do Preview
Microsoft Exchange: Through the eyes of MVPs (Panel discussion)
Overview: Dynamics 365 for Project Service Automation
Understand your Azure cloud assets dependencies with BMC Discovery
Sami Laiho AMA - Ask Me Anything
Breaking Down the Value of A Yammer Post: 20 Things to Do
8/04/2019 9:13 PM © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Cool Microsoft Edge Tips and Tricks
When Bad Things Happen to Good Applications
Getting the most out of Azure resources with Azure Advisor
Manage your App Service resources using Command line tools
“Hey Mom, I’ll Fix Your Computer”
4/21/2019 7:09 AM THR2098 Unlock New Opportunities with Nintex Hawkeye Process Intelligence and Workflow Analytics Sr. Product.
4/28/2019 3:30 AM THR1061 Learn how Dynamics 365, Office 365 and related applications work together to transform the workplace Donna Edwards Solution Architect.
Виктор Хаджийски Катедра “Металургия на желязото и металолеене”
Consolidate, manage, backup, and secure your cloud content
Designing Bots that Fit Your Organization
Ask the Experts: Windows 10 deployment and servicing
Passwordless Service Accounts
Шитманов Дархан Қаражанұлы Тарих пәнінің
Digital Transformation: Putting the Jigsaw Together
WCF and .NET Framework Microservices in Containers
Diagnostics and troubleshooting in Azure App Service Support Center
Optimizing your content for search and discovery
Presentation transcript:

7/2/2018 3:48 AM BRK3394: Visual Studio Code The most useful (and underused!) tips and tricks Chris Dias Principal Program Manager VS Code © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

This talk is about VS CODE, not the VS IDE!! 7/2/2018 3:48 AM This talk is about VS CODE, not the VS IDE!! This… Not This! (So… it’s OK to leave) © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

7/2/2018 3:48 AM Tips and Tricks… Setup Customization Keyboard shortcuts Editing and Code Navigation Code Style and Correctness Debugging Tasks Integrated Terminal Source Code Control Extensions, Marketplace More at https://github.com/Microsoft/vscode-tips-and-tricks.git © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Setup Get the Insiders build! Launch in 9+ Languages Exact same builds we use Early access to new features Launch in 9+ Languages code --locale en-US F1 >Configure Language Add shortcut to PATH F1 >Shell Command…

Customization – Make it Yours 890+ Themes, Icons Settings: CMD+, IntelliSense, validation User, Workspace settings Fun favorites AutoSave Font ligatures Workbench tips

Keyboard Shortcuts Help | Keyboard Shortcut Reference Customize shortcuts Editor, show conflicts Quick Outline in keybindings.json The when clause Keymap Extensions Sublime, VIM, Atom, … Advanced Customization

Navigation and Editing Remember one thing: F1 Navigate workspaces: CTRL+R Navigate files: CMD+P, Right Arrow open files Navigate within files: CMD+SHIFT+O Help | Interactive Editor Playground Multi Cursor, Line Actions, Snippets, more… Emmet Cheat Sheet My Favorites Multi Cursors: CMD+D, CMD+SHIFT+L GoTo Definition: CMD+Click, Go Back: ALT+Left Arrow Peek: ALT+F12 Errors and Warnings: F8

Code Style and Correctness If you do JavaScript, remember a second thing: TypeScript! Type checking JS: @ts-check, jsconfig.json Linters enforce style ESLint plus 190 more … Lightbulbs Formatters make it readable XML is my favorite, 121 more in Marketplace "editor.formatOnPaste": true

Debugging Single file debugging Client, server debugging Debug console, REPL Inline debug values Attach to Docker Recipes

Tasks F1, “task” auto-detects tasks Customize with tasks.json npm, grunt, gulp by default Customize with tasks.json Bind task to keyboard shortcuts Debug preLaunchTask Problem Matchers

Integrated Terminal Pick it Customize it Name it "terminal.integrated.shell.osx": ”/bin/zsh" Customize it "terminal.integrated.cursorStyle": "block" Name it F1, Terminal: Rename F1 > Run file or selected text

Source Code Control Multiple Providers Diff Git, Hg, VSTS, Perforce Diff Side by side, inline, accessible git config --global core.editor code Easy branching, staging, stashing, and partial commits

Extensions and the Marketplace Easy to create! npm install –g generator-code yo code Single click install Manage with code CLI Fun extensions Open Folder, Close All, NPM Validation And of course… Power Mode

#HappyCoding! Follow us @code 7/2/2018 3:48 AM #HappyCoding! Follow us @code Learn: https://code.visualstudio.com/docs Insiders: https://code.visualstudio.com/insiders Contribute: https://github.com/microsoft/vscode Tips: https://github.com/microsoft/vscode-tips-and-tricks © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Please evaluate this session Tech Ready 15 7/2/2018 Please evaluate this session From your Please expand notes window at bottom of slide and read. Then Delete this text box. PC or tablet: visit MyIgnite https://myignite.microsoft.com/evaluations Phone: download and use the Microsoft Ignite mobile app https://aka.ms/ignite.mobileapp Your input is important! © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

7/2/2018 3:48 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.