Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I find the folder of the theme I'm using in VS Code

I want to customize the theme I'm using, how can I find the folder of it?

I wanted to customize 'Atom One Darker' theme but I can't find its folder in app/extensions.

How can I find it?

like image 264
Francesco Dorati Avatar asked Aug 17 '20 17:08

Francesco Dorati


People also ask

Where are VS Code theme files stored?

The building blocks of a theme This place, in macOS, OSX or Linux is in the ~/. vscode/extensions directory while in Windows it should be in %USERPROFILE%\. vscode\extensions .

Where are Visual Studio themes located?

The easiest way to install a Visual Studio theme is to navigate over to the Extensions option in the menu bar and select Manage Extensions. The next step is to select Visual Studio Marketplace under Online on the left panel. Once done, search for the theme you want and select it in the search results.


2 Answers

As the documentation explains, depending on your platform, the extensions are located the following folder:

  • Windows %USERPROFILE%\.vscode\extensions
  • macOS ~/.vscode/extensions
  • Linux ~/.vscode/extensions

Each extension (the themes are extensions too) is stored here in a directory whose name is generated by the concatenation of its ID and the installed version.

Search for a directory whose name starts with christopherafbjur.vscode-theme-onedarker- (it ends with the extension version).


To find the ID of an extension, open the Extensions view (menu -> View -> Open View... -> Extensions), filter the installed extensions (use the menu that pops up from the funnel icon or type @installed in the "Search extensions" box), find the one you need then right click on it and choose "Copy Extension Id" from the popup menu.

like image 195
axiac Avatar answered Oct 18 '22 00:10

axiac


In Windows, you can find the default theme configuration files in C:\Users{user}\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\theme-defaults\themes

Make sure you're in the Programs folder and not the .vscode folder that's in Documents

like image 4
Chana Avatar answered Oct 18 '22 00:10

Chana