Home > Net >  Importing a VS Code theme to Visual Studio 2022
Importing a VS Code theme to Visual Studio 2022

Time:11-17

So this is a question I asked a while back. There was no good answer for it, but there is now, so I'm re-asking the question, because I have an answer for it now.

Here's my issue & my question:

Microsoft's open-source development environment "Visual Studio Code" supports tooling for converting themes from other development-software — i.e. Sublime & Atom. The tooling makes it quick, and nearly effortless. I'd like to know what tools, if any, can perform the same type of conversions, but for "Visual Studio Themes".

To be a bit more specific, I would like to port a couple of my "Visual Studio Code Themes" over to "Visual Studio 2022", and I would like to know if there is any tools (or tooling) that exists to assist me in preform the conversion? I was hopping there might be something like the the 3rd party Yeoman CLI for VSCode: Yo Code?

CodePudding user response:

Converting VS-Code Themes into Visual Studio 2022 Themes


I am contemporarily much more knowledgeable, and skilled in my craft — software development — than I was a couple years ago. Back 2 years ago, I failed to understand the explicit behaviors & the different mechanics that separates an Editor from an Integrated Development Environment (or IDE for short). When I realized it was much harder to convert a theme from an editor to a an IDE, than it was to convert a theme from one company's editor to an editor developed by a another company all-together, I figured the idea of a tool preforming the quick & simple conversion of a VSCode Theme into a Visual Studio theme was a tool that would never be developed; however, as it turns out...


"I have more learning to do still"


The Microsoft Developer that goes by the tag-name Mads (I believe its his first-name too) has developed a theme as of recently that preforms the quick and simple conversion of a "VS-Code theme into a "Visual Studio 2022 theme" (the themes do not seem to work on VS2019, just in case anyone was wondering. IMO, its quick, easy to use, and all around painless. In fact I actually found it to be really fun, and furthermore; they can be published to the Visual Studio Extension's Market place afterwards.



Where to find it:


  1. VSCode Theme Converter By: Mads

  1. GitHub Repository for: VS-Code-Theme-Converter

  1. Video Tutorial: The video was created by the developer of the extension. He walks you through installing it from inside of Visual Studio 2022, and in roughly two minutes, he walks you through the entire conversion process.
    - Mads Quick Video Tutorial: 2 Minute Conversion Video



NOTES:

  • Its a visual studio extension so you can download it from the Microsoft Marketplace as a VISX file-package, or you can get it from the extension manager inside of VS-2022.

I just grabbed it from the Repository myself, because I was there.

  • I found the video above to be a great tutorial, and its only like 2 minutes.
  • Related