The designer has a ‘Quick start’ feature that lets you create a custom theme in minutes by picking three base colors. If you’re wondering what’s Vim and why you should learn it, check my post Learning Vim for Fun and Profit.įor more productivity tools and tricks, check these programs that saved me 100 hours and how I used a Visual Studio extension and a Git feature to get rid of two recurrent review comments.The Color Theme Designer allows you to create your own theme in a faster, more intuitive way. Voilà! That’s how I use Visual Studio 2019 for C# coding. A time saver! I use this extension along with these snippets for Moq. Inside the Setup() methods, it autocompletes the parameter list of the faked method using It.IsAny() for each parameter. Moq.Autocomplete If you use Moq to create fakes, this extension is for you.Depending on the number of files in your solution, it could take a couple of seconds. You can choose the line ending you want to use in your files. Line Endings Unifier Yes, it unifies the line endings of your files.
#Make visual studio dark theme code
Multiline Search and Replace No need to copy and paste your code into Notepad++ to replace multiple lines at once.AsyncMethodNameFixer To not to forget to add the Async suffix on async method names.It removes extra spaces before and after parenthesis. It removes and sorts your using statements. CodeMaid It cleans and formats your files.You need to initialize an object with sample values? In your tests for example? MappingGenerator does it for you! MappingGenerator It creates mappings from one object to another and from a list of parameters to an object.SemanticColorizer It colors fields, classes, methods and more.You only need to hit Shift + F2 and type the path, name and extension of your new file. You can create folders and files in from a single pop-up window. Forget about Right Click -> Add -> New Folder, to then add the file you want. AddNewFile It adds new files directly from the Solution Explorer.LocateInTFS It finds the location of the selected file in the Source Control Explorer tab.No more editing production code without noticing it. SolutionColor It colors the solution bar per project.Why this feature isn’t included in Visual Studio out-of-the-box? It’s already present in Visual Studio Code! It saves automatically all modified files. VSColorOutput It gives you a fancier Output tab with colors.Editor Guidelines: Add a Solarized Magenta guideline at column 120.VSVim It enables Vim keybindings in the text editor.VsVim settingsįor shortcuts, add Ctrl+Shift+w to easily close all documents from the keyboard. And, we still have Control + C and Control + V. This way, we have the best of both worlds. Speaking of extensions, after installing “VSVim” extension, use Handle all with Visual Studio. That’s a time saver! C# - Advanced settingsĪfter installing “Productivity Power Tools” extension, unselect Compress blank lines and Compress lines that do not have any alphanumeric characters. Yeap, Visual Studio can add missing using staments when you paste some code. Go down to Advanced settings to Add missing using directives on paste. And, hide Navigation Bar and Code Outlining. Next, in C# specific settings, enable Line numbers. Text Editor - All Languages - CodeLens settings Only activate Show Test Status and Show C# References. In “Text Editor”, unselect Enable mouse click to perform Go to Definition, Selection Margin and Indicator margin. On the left pane, you will find Visual Studio settings groupped by features, languages and extensions. To change your Visual Studio settings, go to “Tools” menu and then to “Options”. My Visual Studio opened with a sample Console project Settings C# Interactive: A C# REPL, so you don’t have to create a Console project to try things out.These are the theme, settings and extensions I use to be more productive with Visual Studio. It aims to leave more space to the text editor by removing unneeded menus and bars. My Visual Studio setup is heavily inspired by De-Cruft Visual Studio. You are better off spending some time to customize it to boost your productivity. You will spend countless hours inside Visual Studio. Visual Studio is the de facto IDE for C#. Visual Studio 2019 setup for C# (theme, settings, extensions) #productivity #visualstudio