If you do not have ReSharper, so how Visual Studio 2019 can function ReSharper restore it?

Original: https://blog.csdn.net/WPwalter/article/details/100158000

 

This article only talk about those common features in ReSharper, Visual Studio 2019 can restore much, primarily to those who are considering not using ReSharper plug-in for Visual Studio users as a reference. ReSharper so powerful after all, is built on the payment of an annual fee as well as a lot of nightmarish occupation Visual Studio performance foundation. However, the use of Visual Studio 2019 Community Edition does not match ReSharper is free to contribute to the open source community.

In this article
perfect reduction
ubiquitous intellisense prompted
automatically import the namespace input required
to extract local variable
renaming identifiers (name class / method name / attribute name / variable names, etc.)
can restore
still insufficient
amount of code fragments
content of this article is divided into three parts:

Visual Studio completely restored ReSharper functionality
might Visual Studio on this feature has caught up with ReSharper
might Visual Studio on this feature, although still not as good as ReSharper perfect, but an integral part hardly affects the experience
might Visual Studio This feature more than ReSharper wins a chip
Visual Studio can be partially reduced ReSharper functionality
may in most scenarios Visual Studio can obtain this feature effect ReSharper, and in a few scenes as good as ReSharper
might Visual Studio can obtain this feature effect ReSharper for most people, on the other part people can not be replaced ReSharper
likely to Visual Studio in another way this feature is more powerful than ReSharper, but the overall effect is not as good as ReSharper
Visual Studio this feature is still very weak, but you can install the free plug-in way to make up the
Visual Studio this feature is still better than not on ReSharper
may be Visual Studio does not have this feature
may be on the implementation of this feature is not as good as Visual Studio ReSharper fast, efficient, simple and
perfect to restore
everywhere in the IntelliSense prompts
By default, Visual Studio only you just start typing or input. And (when it appears IntelliSense tips, but if you use ReSharper development, you will find IntelliSense prompt everywhere (so that card?).

In fact, you can also configure Visual Studio IntelliSense in more cases, please open the following "Tools" -> "Options" -> "Text Editor" -> "C #" -> "IntelliSense":

 

Open the "Display delete the complete list of the character" "is displayed after the completion of the list of typed characters" and. In this way, as long as you are editing, the display will prompt IntelliSense.

Also, if you currently need to open IntelliSense prompt, use Ctrl + Space by default can be opened. Of course, you can also change it to ReSharper common shortcut Alt + Right Arrow. Method is "" item to modify keyboard shortcuts in.

 

Modify the shortcut method see:

How quickly customize Visual Studio shortcuts in some of the features
In addition, IntelliCode section, you can choose to open more complete IntelliSense items:

 

That is automatically imported when you enter the namespace needs of
intelligent perception ReSharper type contains various program prompts depend on centralized, but Visual Studio's IntelliSense is not included those written using only the top few in the namespace Types of.

Visual Studio 2019 can be set IntelliSense prompt "shows not imported items namespace." The default is not turned on, when turned on, you will be able to directly see the original prompt some ReSharper in order to write any type of perceptual experience in intelligence.

 

Enter the class name and can only be fully reconstructed using shortcut keys when entering an unknown type by default namespace import:

 

But this option is turned on, just type a part of the class name, even if it has not been written using this type of import, but also to see and perceive the prompt completion of intelligent input.

 

Extracting local variables
in ReSharper, select a code, if the code can return a value, it can be reconstructed using the shortcut (default Alt + Enter) to generate a local variable. If the same method with the block body there are many, many codes that can be simultaneously extracted together into a variable layout.

In Visual Studio, you can select a piece of code to extract said a local variable:

Rename identifier (name class / method name / attribute name / variable names, etc.)
ReSharper use Ctrl + R, R rename a shortcut identifier.

Visual Studio or F2 is also used with the same ReSharper Ctrl + R, R a shortcut key to rename the default identifier.

 

You can restore
is to fill hole ......

Still lack
a lot of code fragments
ReSharper comes with a lot of code snippets convenient, and customizable code snippets that are very strong, there are a lot of macros can only be done; and there Rear snippet.

But that comes with Visual Studio code snippets on much weaker, we can only support the basic macro.

However, by following some plugins to make up some of the short board by functional Number:

C # for Snippetica - Marketplace Visual Studio
C # Code Snippets Methods - Visual Studio Marketplace
My blog will be starting in https://blog.walterlv.com/, and will be released from CSDN which featured, but it is rarely updated once released.

If you see any do not understand the contents of the blog, please share. I built dotnet Vocational and Technical College welcome to join.

 

This work is Creative Commons Attribution - NonCommercial - ShareAlike 4.0 International License Agreement for licensing. Welcome to reprint, use, repost, but be sure to keep the article signed by Lu Yi (contains a link: https: //walterlv.blog.csdn.net/), shall not be used for commercial purposes, a work based on the article be sure to modify the same license release. If you have any questions, please contact me.


----------------
Disclaimer: This article is CSDN blogger "walter lv 'original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source and this link statement.
Original link: https: //blog.csdn.net/WPwalter/article/details/100158000

Guess you like

Origin www.cnblogs.com/yanglang/p/11784967.html