Productivity Power Tools It's officially launched by Microsoft Visual Studio Expand , Used to improve developer productivity . To a certain extent, it makes up for and perfects Visual Studio Its own shortcomings , For example, the tag is automatically completed 、 Copying references and so on may seem small , But it really helped me relieve a lot of trouble . There are many articles recommending this extension in the blog Garden , This article is somewhat similar , Just for your convenience , I've provided some better functions with GIF Animation .
Many useful features in this extension have been added directly to the next version of Visaul Studio IDE among , That is to say, the earlier you use the tool , The sooner you can experience the next version Visual Studio The function of . Believe it or not , Anyway, I believe .
This article will be Visaul Studio 2012 Introduce on the basis of . If you are using Visual Studio 2010 or 2013, So this article may not be suitable for this .
Function management
The extension includes many different functions , If you don't think a feature works for you , Or it may interfere with your normal work , You can choose to close it . All you have to do is open Tools / Options / Productivity Power Tools, Then configure as needed .
Mark automatic completion
Briefly explain
1、 Support (), {}, [], <>,“”, and ‘’.
2、 have access to Tab Key to quickly navigate to the end mark .
3、 have access to Shift + Enter Automatically add “;”, And position the cursor on the next line .
The demo
Go ahead 、 Move down
Briefly explain
Before using extensions , You can only use Shift + Alt + T Move a line down , Unable to move up . Now? , You can simply position the cursor in the line you want to move , And then use alt + ↑↓.
The demo
Copy class
Briefly explain
The original Visual Studio When copying class files , It's not going to be on the file class Rename , After pasting Visaul Studio There will be an error due to the duplicate class name , At the same time, the new class file is Copy of xxx, This is not conducive to finding the file quickly in the solution manager . Use the extended “ Copy class ” operation , Will automatically rename the class name , At the same time, the name of the class file is xxx+ Numbers To distinguish between .
The demo
Enhanced scroll bar
Briefly explain
This is 2012 New features in , It allows us to locate the code more quickly . If a file has tens of thousands of lines , It is obviously inefficient to search by moving the scroll bar .
Different colors on the scroll bar mean different things
Blue : The current position of the cursor
Red : There's a wrong location
green : Newly added code
yellow : There are changes , And not yet saved code
The demo
Copy reference
Briefly explain
When some references need to be added to multiple projects at the same time , We can copy it directly 、 Paste the way to achieve .( Can only be used between different projects within the same solution )
The demo
Copy as project reference
Briefly explain
When one of the projects needs to be a reference to another , You can use it directly “Copy as Project Reference”.( Can only be used between different projects within the same solution )
The demo
Copy the code path
Briefly explain
Sometimes , You may need to know the path to the current file , At this time , You can use it in solution explorer “Copy Path”.
The demo
Open... In a folder
Briefly explain
When you need to quickly open a file in a folder , Just select the file in Solution Explorer , Then right-click to choose “Open Containing Folder” Can then .
The demo
Modify engineering documents
Briefly explain
Before we had this tool , To modify a project, you need to find it in the folder first .csproj file , Then select use editor to open . Now just right-click on the project and select “Edit Project File” You can do it . Click this option to unload the current project ( If there are unsaved changes , Will remind you whether to save ), When you're done with it , Remember to reload the project .
The demo
Quick start
Briefly explain
This function is Visual Studio 2012 The function of , The purpose is to be able to perform some operations quickly , Because some operations are hidden deep , For example, set the font , You may need to choose Tools / Options / Environmental Science Then we can find , But you use “ Quick start ” You can quickly set the font . And the extension further enriches “ Quick start ” Supported command set , For example, quickly set the font for presentation 、 Quick font recovery 、 Restore development environment settings 、 Turn on or off line feed, etc .
The demo
command | describe |
---|---|
CollapseRegions | All... In the current document #region Fold |
ExpandRegion | All... In the current document #region an |
TxtFont- | Reduce the font size of the text editor 2( The minimum is 6) |
TxtFont0 | Reset the font of the text editor to 10 |
TxtFont+ | Add fonts to the text editor 2( Up to 60) |
TxtFontReset | Reset the font of the text editor to the default value of the current theme |
EnvFont- | Reduce the font size of the development environment 2( The minimum is 5) |
EnvFont0 | Reset the font of the development environment to 9 |
EnvFont+ | Add fonts to the development environment 2( Up to 59) |
EnvFontReset | Reset the font of the text editor to the default value of the current theme |
InsTabsOff | When typing Tab Use a space instead of ( For all languages ) |
InsTabsOn | When typing Tab Keep in use Tab( For all languages ) |
LineNumOff | Turn off line number display in text editor ( For all languages ) |
LineNumOn | Open the line number display in the text editor ( For all languages ) |
PresentOff | Turn off demo mode , The font is restored to the size it was before demo mode was turned on |
PresentOn | Turn on demo mode , Enlarge the font for viewing on the projector |
ResetToBasic | hold VS The settings are reset to Visual Basic development settings |
ResetToC++ | hold VS The settings are reset to Visual C++ development settings |
ResetToC# | hold VS The settings are reset to Visual C# development settings |
ResetToF# | hold VS The settings are reset to Visual F# development settings |
ResetToGeneral | hold VS The settings are reset to General development settings |
ResetToJavaScript | hold VS The settings are reset to JavaScript for Windows 8 Apps development settings |
ResetToLightSwitch | hold VS The settings are reset to LightSwitch development settings |
ResetToSQL | hold VS The settings are reset to SQL Server development settings |
ResetToWeb | hold VS The settings are reset to Web development settings |
ResetToWebCode | hold VS The settings are reset to Web (Code Only) development settings |
SwitchCode | From the designer and Code Behind, Switch between header files of source files |
TabSize- | hold Tab The amount of indentation is reduced 2( For all languages ) |
TabSize0 | hold Tab The indent of is reset to 4( For all languages ) |
TabSize+ | hold Tab The indent of the shed increases 2( For all languages ) |
WordWrapOff | Turn off wrap ( For all languages ) |
WordWrapOn | Turn on wrap ( For all languages ) |
Excerpt from the table above 《 use Productivity Power Tools 2012 Improve your work efficiency 》
Add Guides
Briefly explain
If you have a requirement for the number of characters per line , For example, only single screen display is allowed , Then you need to wrap a column manually , So as to ensure the display effect . But how do you know if it's time to change lines ? Do you have to count numbers every time ? Or go and have a look Visual Studio Information in the status bar ? It's really inefficient ! Use this extension , You just need to add a reference line where you need to wrap , Then you can see at a glance . If you need to be in the second 80 Column set reference line , So you have to allow the cursor to be positioned in the second 80 Column , Otherwise, you cannot insert or delete Guides . The way to allow the cursor to navigate to a column is simple , You can simply press and hold the space bar until you reach that column . Or you can turn it on Visaul Studio Virtual space of .
The demo
Middle mouse button scrolling
Briefly explain
It's like in a browser , Press and hold the middle of the mouse to scroll .
The demo
Email Code
Briefly explain
If your project team often uses the email system to communicate code with each other , Then this shortcut will greatly facilitate your operation . You just have to choose what you want email Code snippets for each other , Then right-click and choose “Email Code Snippet”, Will jump out of the mail client , And paste your selected code into the email body automatically .
The demo
Delete recently opened projects and files
Briefly explain
If you don't want history , You can delete it directly , And it will jump out of the dialog box and let you select the record to delete . To perform a delete operation ,Visaul Studio It will restart automatically , And will automatically save your unsaved changes . restart , This means that the history of all file operations will be lost , It can't be used after restart Ctrl + Z Undo , Therefore, before deleting the record, please make sure that your operation on the file has been confirmed .
I don't know Bug, When VS After restart , A warning dialog will pop up ( And every time you restart the project, it jumps out ):
The demo
Download the extension
In this paper, the source 《 Free boutique : Productivity Power Tools The demo 》
Productivity Power Tools The demo ( turn ) More articles about
- Free boutique : Productivity Power Tools The demo
Productivity Power Tools It's officially launched by Microsoft Visual Studio Expand , Used to improve developer productivity . To a certain extent, it makes up for and perfects Visual Studio Its own shortcomings , ...
- Productivity Power Tools The demo -- Awesome plugin tools
Free boutique : Productivity Power Tools The demo Productivity Power Tools It's officially launched by Microsoft Visual Studio Expand , Used to improve developer productivity ...
- Productivity Power Tools It's officially launched by Microsoft Visual Studio Expand
Productivity Power Tools It's officially launched by Microsoft Visual Studio Expand Free boutique : Productivity Power Tools The demo
- Productivity Power Tools Use
Free boutique : Productivity Power Tools The demo Productivity Power Tools It's officially launched by Microsoft Visual Studio Expand , Used to improve developer productivity ...
- Use Productivity Power Tools Advanced extension To help you improve VS2012 Work efficiency
Productivity Power Tools Advanced tools help developers improve their work efficiency , be used for Visual Studio 2012 pro ( And above ) A set of free extensions for . Most of this article is translated from MSDN:ht ...
- Use Productivity Power Tools 2013 To help you improve VS2013 Work efficiency
Visual Studio Gallery Released in Productivity Power Tools 2013 Update . In this release , This version solves a large number of errors and problems reported by customers , And introduce a new function called syntax line compression ...
- Visual Studio Productivity Power Tools Even open source
( This article is also published in my official account of WeChat "dotNET Daily essays ", Welcome to the QR code on the right .) . : Microsoft open source has a good time , even VS Extension plug-in Productivity Power Tools Open source, too . ...
- VS plug-in unit Productivity Power Tools - change Tab component location
Visual Studio 2013 How to set the tab to display on the left ?vs The middle tab is displayed at the top by default , But I'm more used to showing it on the left , How to set it ? To make it easier to use , Share below VS2013 The tab is set to the graphic tutorial shown on the left Vi ...
- vs2015 The plugin is recommended Productivity Power Tools 2015
vs2015 The plugin is recommended Productivity Power Tools 2015 Official website :https://marketplace.visualstudio.com/items?itemName=Vi ...
Random recommendation
- SQLPROMPT5.3 Decryption test of various encrypted objects
SQLPROMPT5.3 Decryption test of various encrypted objects Test environment : SQL2005 Personal developer version SP4 SQLPROMPT edition :5.3.8.2 View CREATE VIEW aa WITH ENCRYPTI ...
- TCP Chat tool
// Front desk writing import java.io.OutputStream; import java.net.InetAddress; import java.net.Socket; import java ...
- intelij idea 2016.2 Registration code
Activation code : 43B4A73YYJ-eyJsaWNlbnNlSWQiOiI0M0I0QTczWVlKIiwibGljZW5zZWVOYW1lIjoibGFuIHl1IiwiYXNzaWduZWVOYW1l ...
- c# Create shortcuts in code only way
using System; using System.Collections.Generic; using System.Text; using Microsoft.Win32; using Syst ...
- cell Function summary
Cell array : The array of cells is MATLAB A special data type of , Cellular array can be regarded as a kind of universal matrix , Or generalized matrix . The elements of a cell array can be constants or constants of any data type , Each element can also have a different size ...
- How to give PDF Document add and remove Bates number
PDF Files are used more frequently , We're not just limited to using PDF The file , You'll also need to edit PDF When you file , So how to be in PDF Adding and removing Bates number from the document , There should be a lot of little friends who want to know , Let's share with you today , My friends are just ...
- javascript Prototype inheritance in
javascript The basic rules for a circle to become a circle : All data are objects : To get an object , Not by instantiating classes , Instead, find an object as a prototype and clone it : The object remembers its prototype : If the object cannot respond to a request , It will delegate the request to ...
- Linux Package installation
rpm command Naming method name-VERSION-release.arch.rpm common arch: x86: i386 i486 i586 i686 x86_64: x64 ...
- format json
Format output JSON var obj = {"args0":{"asynTarget":false,"atomicList":[{" ...
- cplusplus library Online management ; Be similar to python Of pip install 、nodejs Of npm modular
cplusplus library Online management : Be similar to python Of pip install .nodejs Of npm modular also apache Frequently used Apache Ivy Projects rely on management tools /Maven this ...