Tips and Tricks in Visual Studio 2017

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

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.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.

customer.
demo Demo.
Feature: Suggested Item Enhancements – Analysis and Assignment © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and.
© 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.

C# and VB code-focused development with Visual Studio
Success through People with LinkedIn and O365
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
Do more with Microsoft Word and Office 365
Get Typed with TypeScript!
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.
Optimizing Microsoft OneDrive for the enterprise
Build data-driven solutions using Microsoft Visio
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)
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
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
Learn. Imagine. Build. .NET Conf
Super Charge Your Debugging in Visual Studio
Accelerate Office 365 Adoption Through Microsoft FastTrack Services
Microsoft products for non-profits
Introduction to ASP.NET Core 1.0
Five cool things you can do with Windows PowerShell on Office 365
Microsoft To-Do Preview
Securely pass passwords into your deployment
Microsoft Exchange: Through the eyes of MVPs (Panel discussion)
Overview: Dynamics 365 for Project Service Automation
Surviving identity management in a hybrid world
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
“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
日本初公開!? Vista の新機能を実演 とっちゃん わんくま同盟 7/23/2019 9:09 AM
Presentation transcript:

Tips and Tricks in Visual Studio 2017 9/20/2018 9:53 AM BRK3192 Tips and Tricks in Visual Studio 2017 Kasey Uhlenhuth Program Manager @kuhlenhuth © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Agenda Tips and Tricks for performance and reliability 9/20/2018 9:53 AM Agenda Tips and Tricks for performance and reliability Tips and Tricks for Visual Studio Tips and Tricks for .NET in Visual Studio © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Performance Tips New install SxS support Full solution analysis 9/20/2018 9:53 AM Performance Tips New install SxS support Full solution analysis Out-of-process analysis Lightweight solution load (Track active item in solution explorer) © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

.NET Tips and Tricks in VS2017

Maximize Your Coding Space 9/20/2018 9:53 AM Maximize Your Coding Space Reset window layout Turn off line numbers via Quick Launch Full screen mode Turn off margins via Quick Launch View white space Ctrl+Tab between open files Ctrl+T to navigate to files (camelCase matching!) Turn off CodeLens © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Customize Your Coding Space 9/20/2018 9:53 AM Customize Your Coding Space Extensions (Color Theme Editor) Fonts and Colors (selected text, structure visualizer (2017), font size, suggestion ellipses (2017)) Custom keyboard shortcuts (HotKeys extension) Export/Import VS Settings © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Navigate Your Code Ctrl+Tab Ctrl+T (Go To All, 2017) 9/20/2018 9:53 AM Navigate Your Code Ctrl+Tab Ctrl+T (Go To All, 2017) Ctrl+; (Solution Explorer) CodeLens (customize to only references) F12 Family F12 – Go To Definition Shift+F12 – Find All References Ctrl+F12 – Go To Implementation (2015) Alt+F12 – Peek Definition Ctrl+Click for GoToDef (2017) Ctrl+Plus and Ctrl+Minus © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Source Control Bottom bar (change branch, commit changes, push) 9/20/2018 9:53 AM Source Control Bottom bar (change branch, commit changes, push) Team Explorer Undo changes Compare with unmodified View history © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Text Manipulation Alt+Up/Down - to move lines 9/20/2018 9:53 AM Text Manipulation Alt+Up/Down - to move lines Ctrl+L, V - to cut a line and paste (Duplicate Text coming soon!) Ctrl+K,C / K,U - to comment/uncomment Shift+Enter - “smart” line break Alt+Shift+Arrows – box selection Ctrl+Bkspc – delete word © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

IntelliSense Settings (for VB/C# mixed, change Enter key behavior) 9/20/2018 9:53 AM IntelliSense Settings (for VB/C# mixed, change Enter key behavior) Filtering and highlighting (2017) in completion list Smart variable naming (2017) for C#/VB Hold Ctrl to make invisible ‘K’ Family Ctrl+K, P – See parameter info Ctrl+K, I – Quick Info (same as hover) Ctrl+K, L – List members Ctrl+<space> © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Debugging Step into Specific Conditional Breakpoint 9/20/2018 9:53 AM Debugging Cloud Explorer Function Family F5 – start debugging F9 – toggle breakpoint F10 – step over F11 – step into Step into Specific Conditional Breakpoint Run to click (2017) Exception Helper (2017) LINQ and lambdas in Watch window (2015) © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

.NET Tips and Tricks in VS2017

Live Unit Testing Turn on with solution load Live test sets 9/20/2018 9:53 AM Live Unit Testing Turn on with solution load Live test sets Battery saver Navigation © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Code Analysis Bulk suppress (2015) Scrollbar to see errors (map mode) 9/20/2018 9:53 AM Code Analysis Bulk suppress (2015) Scrollbar to see errors (map mode) Code Style via Tools>Options and EditorConfig (2017) 3rd-party analyzers © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Refactorings and Quick Fixes 9/20/2018 9:53 AM Refactorings and Quick Fixes Extract method Inline temporary variable/introduce variable Add null check Move type to file Fix misspelling Add using for types on NuGet Add parameter/generate constructor © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Resources Editorconfig for code style: https://docs.microsoft.com/en-us/visualstudio/ide/create-portable-custom-editor-options Refactorings and quick actions: https://docs.microsoft.com/en-us/visualstudio/ide/refactoring-code-generation-quick-actions HotKeys Extension: https://marketplace.visualstudio.com/items?itemName=JustinClareburtMSFT.HotKeys2017-KeyboardShortcuts

Please evaluate this session Tech Ready 15 9/20/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.

9/20/2018 9:53 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.