Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Convert current .vssettings to .vstheme for VS 2013

I have downloaded the Visual Studio 2013 Color Theme Editor and a fonts/colors theme in the form of a .vssettings file (from here). I want to be able to edit the file in the Color Themes window/tab/thing, but, to do that, I need to first convert the .vssettings file to a .vstheme or .pkgdef file. Is there any way to do this (without manually inputting the colors)?

like image 292
ricky3350 Avatar asked May 10 '15 23:05

ricky3350


People also ask

How do I convert a VS Code theme to Visual Studio?

Theme Converter is a CLI tool which allows you to convert your VS Code theme to work in Visual Studio. It's a simple tool that maps the colors of a theme to Visual Studio. Themes can be packaged into VSIXs and uploaded to the Marketplace so that more people can use your theme!

How to use themeconverter with Visual Studio 2022?

Example: ThemeConverter.exe -i "C:\myTheme\TestTheme.json" -t "C:\Program Files\Microsoft Visual Studio\2022\Community". This command will convert the TestTheme, patch the generated json to the target VS and launch the VS with the converted theme.

How do I export the current settings of Visual Studio Tools?

The following command exports the current settings to the file MyFile.vssettings: Tools.ImportandExportSettings /export:"c:\Files\MyFile.vssettings" Learn how to reduce the installation footprint of Visual Studio on your system drive by changing the location of the download cache, shared components, SDKs, and tools to different drives.

What happens to changes to current settings when you quit Visual Studio?

It has, however, almost exactly the same behaviour as modifying the CurrentSettings.vssettings file directly. In this case the changed settings are correctly reflected in the instance of Visual Studio started through automation; but quitting that instance and starting a new instance (eg from the Start menu) results in lost changes.


1 Answers

Open Tools > Customize Colors and make a copy of the theme you want to work with, then edit it to get the theme editor open.(Visual hints)

Next, go to Tools > Import and Export Settings to install the .vssettings file you downloaded (Details). Follow the prompts to optionally save your existing settings and apply the new ones.

Now, on the Theme editors toolbar there is a button with the letter A on it, press it. It will take all the settings that you just imported and put them in the theme you are editing.

like image 111
Cooter Avatar answered Oct 21 '22 02:10

Cooter