Code Monkey home page Code Monkey logo

productivityfeatures's Introduction

Visual Studio recent productivity features

Summary

This repo contains a simple console app that demonstrates several codefixes and refactorings in recent Visual Studio versions.

Features included in tutorial

Features added in Visual Studio 2019 update 16.1 Preview 2

  • Move Type to Namespace (Ctrl + .)
  • Run code cleanup on solution/projects from Solution Explorer (Right-click)
  • Toggle block comments (Ctrl + Shift + /)
  • Initialize a private field from constructor and vice versa (Ctrl + .)
  • Make readonly struct fields writable (Ctrl + .)

Features added in Visual Studio 2019 update 16.1 Preview 1

  • Split/Merge nested if statements (Ctrl + .)
  • Regex Completion (Ctrl + space)
  • Wrap binary expressions (Ctrl + .)
  • Find All References 'Kind' column values for Namespaces and Types
  • Code fix to unseal a class (Ctrl + .)

Features added in Visual Studio 2019 update 16.0 Preview 2

  • New Roslyn classification colorization!
  • Wrap, indent, align parameters (Ctrl + .)
  • Use expression/block body for lambda (Ctrl + .)
  • Invert conditional expressions and logical operations (Ctrl + .)
  • Convert to compound assignment (Ctrl + .)
  • Implicitly-typed variables cannot be constant code fix (Ctrl + .)
  • Replace @$" with $@" when typing interpolated verbatim string (automatic)
  • Categorize references by Read/Write in Find All References window (Shift + F12)
  • Automatically close block comment on "/" (automatic)
  • Open a csproj by double-clicking on a project in solution explorer (.NET Core only)
  • Fix for identified unused expression values and parameters (Ctrl + .)
  • Allow Extract Interface to remain in same file (Ctrl R, Ctrl I)
  • Pull members up refactoring with dialog options (Ctrl + .)

Features added in Visual Studio 2019 update 16.0 Preview 1

  • Regex parsing support
  • Foreach to LINQ query (Ctrl + .)
  • Foreach to LINQ method/call form (Ctrl + .)
  • Add missing usings on copy paste (Ctrl + .)
  • Dead code analysis for unused private members (Ctrl + .)
  • Add implied await code fix (Ctrl + .)
  • Convert local function to method (Ctrl + .)
  • Generate deconstructor (Ctrl + .)
  • Convert anonymous type to tuple (Ctrl + .)
  • Convert anonymous type to class (Ctrl + .)

Features added in Visual Studio 2017 update 15.8

  • Format Document (Ctrl + k, d)
  • Code clean-up (Ctrl + k, Ctrl + e)
  • Invert if (Ctrl + .)
  • Multi-caret (Ctrl + alt + click)
  • Convert to conditional expression (Ctrl + .)
  • Add parameter at callsite (Ctrl + .)
  • Erase extra parenthesis (Ctrl + .)
  • For loop to foreach (Ctrl + .)
  • Linq to ForEach (Ctrl + .)
  • Navigate to Enclosing Block (Shift + Alt + [)
  • Go to All Recent Files (Ctrl + t, r)

productivityfeatures's People

Contributors

benaadams avatar kendrahavens avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.