Visual Studio 2019 C# code colours in Visual Studio 2017 - visual-studio

I have a question. I need to use VS 2017 in my work but i love VS 2019 code colouring. It is so much easier to read. My question is did someone seen some code colours themes like VS2019/VS CODE (JavaScript) themes?
Or there is easy solution, for example import code colours from VS2019 to VS2017?
Thanks for help

You can personalize your VS2017 with the "Color Theme Editor" extension available on the Visual Studio Market Place for free.
https://marketplace.visualstudio.com/items?itemName=VisualStudioPlatformTeam.VisualStudio2017ColorThemeEditor
EDIT :
For Syntax Highlighting you can choose in the gallery here :
https://marketplace.visualstudio.com/search?term=tag%3Asyntax%20highlighting&target=VS&category=All%20categories&vsVersion=vs15&sortBy=Relevance

Use color coder https://marketplace.visualstudio.com/items?itemName=Xellarix.ColorCoder
extension
also, you can customize the color for different types

I use VS2019 as my personal IDE but for my company labtop I still use 2017 because they provide professional license.
I want to have the same text color theme on my both IDE for consistency and I found this extension.
https://marketplace.visualstudio.com/items?itemName=StanislavKuzmichArtStea1th.EnhancedSyntaxHighlighting
This theme is pretty similar to the theme when you enable "use enhanced colors for c# and basic" in VS2019.

My understanding is that this is a new feature in the C# and VB language editors - in other words, these are new features/settings in VS2019 that simply don't exist in VS2017.

Related

Is there a way to have a dark theme for resources editor in Visual Studio?

I love dark themes in my development environments but can't find a way to make the resources editor (particularly strings) of Visual Studio dark too. My VS version is 2015 Professional.
Here's how I see it:
while the rest of the UI looks like this:
There is an extension for the Visual Studio 2015 Enterprise that changes the theme color of every element of the IDE. Just search themes and you get a lot of extensions and 90% of them work, you can even set up some transparent background for your coding environment and even add some music(mostly trance) that changes and helps you concentrate while coding.
If you inspect the resx editor using inspect.exe tool, you can see its a Winforms data grid view. It does not honor WPF styles. According to my understanding VS is built using WPF changes the themes via WPF style feature.
https://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview(v=vs.110).aspx

Visual Studio 2012/2013 Theme Documentation?

Is there a document or a chart somewhere that translates the thousands (possibly tens of thousands -- who knows!) of controls in the new Visual Studio color theme catastrophe into something recognizable by people who aren't clinically insane?
I have no idea what a "ClassDesignerClassCompartmentKey" is... or a "ProjectDesignerTabSepTopGradientEndKey", or any of the other fifty million unnecessary and unwanted "controls" that have been inflicted on us by the Visual Studio Design Team are.
All I want to do is fix the UI disaster that is Visual Studio 2012, but I don't have a clue where to start. I guess I can download another one of the useless Color Theme addins from the Microsoft Extensions that don't work, but at this point I'm so irritated by the complete lack of functionality in the four (maybe more...) useless addins that I have installed and removed that I'm going to write an application that will take my system desktop colors and brute-force them onto all five hundred billion "theme controls" so that I can go back to using an IDE that doesn't make me want to stab myself in the eyes.
If you want to see exactly what is being changed you can use this online theme editor. Go to create a new theme or select an existing one, click on the item that you want to change, it will give you the name that VS uses which you can adjust in the Visual Studio. You can create a theme or import the one that offends you and make alterations and export it out to be used.
If you're referring to ways to change the color theme of Visual Studio 2012, Scott Hanselman wrote a good article, Your Colorful Visual Studio 2012 with the Color Theme Editor (VS2010 colors, too). Probably of greatest interest he refers to Matthew Johnson's Visual Studio 2012 Color Theme Editor (a.k.a Visual Studio 2012 Color Theme Editor) which makes it simple to apply prebuilt themes. He also includes the following registry modification to turn off the all-caps feature.
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0\General\SuppressUppercaseConversion REG_DWORD value: 1

Fonts and colors extension for Visual Studio?

Visual Studio Color Theme Editor is an excellent extension for Visual Studio 2010 that can be used to try and apply different themes on the IDE. The theme only changes the chrome or the windowing area of the IDE.
To change the display of code one still has to play around with the settings in the Fonts and Colors dialog or import settings from a .vssettings file. (A variety of styles are available at StudioStyles).
All editors now allow the programmer to try or switch between different styles on the code with a click (like the gorgeous Sublime Text). Is there a Visual Studio extension or external tool that makes it easy to apply and play around with different styles? If not, is there some trick to try or switch between different styles with ease? I find that going through the Import Settings dialog is quite onerous.
Visual Studio 2012 Color Theme Editor extension now allows (from v2.3) to change Font colors using styles (include your own styles). Exactly what do you need.
Version history
2.3 Added support for merging Fonts & Colors customizations with a theme
Update to Visual Studio 2012 and you be able to use either Light or Dark theme. What's is really cool.
Other good suggestion is to check http://studiostyl.es/ - This website provide many variations of color and fonts to use with your Visual Studio (but by now that compatibility is just with vs2005, vs2008 and vs2010)

Dark Theme for Visual Studio 2010 With Productivity Power Tools

There's a lot of new things going on in the Productivity Power Tools extensions, and I find that many of the new features come with very weird color combinations, that many times make the text completely illegible. I assume this is because I've previously set a dark theme for Visual Studio, and some, but not all, of the settings that affect the extension have been changed.
Are there any good dark themes out there that have been put together after the Productivity Tools Extension was published, that create a unified color theme for both VS and the extension features?
Clarification: This question is not about color schemes for code, such as those found at studiostyles. I'm talking about color schemes that apply to the development environment itself; toolboxes, menus, tooltips, windows, buttons...
Install the Visual Studio Color Theme Editor extension:
Make your own color scheme or try: The Dark Expression Blend Color Theme (preview below)
Once you have that, you'll want schemes for the text editor as well. This site has several, including the VS2012 "dark" theme implemented for VS2010.
There is a style that I've created based on dark style from VS 2015 to use on my VS 2010. You can download this style from Dark Style from VS 2015.
After download it, just import through menu Tools -> Import and Export Settings...
So, I tested above themes and found out none of them are showing proper color combination when using Productivity Power Tools in Visual Studio.
Ultimately, being a fan of dark themes, I created one myself which is fully supported from VS2005 to VS2013.
Here's the screenshot
Download this dark theme from here: Obsidian Meets Visual Studio
To use this theme go to Tools -> Import and Export Setting... -> import selected environment settings -> (optional to save current settings) -> Browse select and then Finish.
Not sure if any of these help, but this might get you started: http://studiostyles.info
I know that the site owner has been gradually adding functionality to allow support for new color assignments, so perhaps there's something there.
You can also try this handy online tool, which generates .vssettings file for you.
Visual Studio Color Theme Generator

Indenting c++ in visual studio

I am using Visual Studio 2005 team edition. I come from a unix background using gvim.
It would appear that formatting/indenting code seems to be a lot harder.
Can anyone suggest a good option. VI with its autoindent/smartindent settings spoilt me.
thanks
ctrl K-F formats the selected code
Go to tools->options->Text editor->c/c++ to set formatting details

Resources