Issue #55  (Advanced Workbench Color Customizations)05/10/23

Advertisement
Meco: An Inbox Designed for Reading NewslettersEnjoy your newsletters in a space built for mindful reading while giving your inbox space to breathe. It's easy to get set up and completely free!

I've talked about many of the ways you can customize VS Code visually, including file icons, editor fonts, terminal fonts, ligatures, the cursor, and others. If you really want to get into advanced ways to customize the look and feel of VS Code, you'll want to look into the Workbench: Color Customizations option.

If you search for this option in your UI Settings, you'll notice it will direct you to "edit in settings.json", as shown in the image below.
 
Workbench: Color Customizations in VS Code

This means any customizations you make have to be written directly in the JSON settings file. When you click this, VS Code will automatically create an object in the JSON file called "workbench.colorCustomizations" and you can start looking for things to customize by triggering IntelliSense (i.e. start typing an opening quote or hit CTRL/CMD-SPACE).
 
Using IntelliSense to choose a color customization

You can scroll through the different values to get an idea of the stuff you can change, which is basically anything in VS Code. Some examples:
  • The color of the activity bar (the bar usually found on the left side of your editor where you open folders, extensions, etc.)
  • The look of active or inactive tabs for open files
  • The different colors used for the icons, error messages, etc. found in VS Code's debugger
Below I'm using VS Code's Darcula color theme, but I've changed the color of the activity bar to a dark purple shade.
 
Changing the Color of the Activity Bar

These settings, as you can guess, are the same ones used by extension authors who create specific color themes for VS Code. Downloading an extension is naturally much easier than going through all of these to pick your own customizations. But that being said, it can be useful to make small adjustments to themes.

For example, you'll notice when you trigger IntelliSense in the JSON file for colorCustomizations, the top options are things like [Monakai], [Darcula], [Sunburst], etc. You can insert one of these bracketed themes, then choose any of the customization options and your customizations will apply only to the selected theme.
 
Customizing colors for a specific VS Code theme

This is the same idea as applying settings to specific programming languages, where you would include the programming language in square brackets, then the settings nested inside that object.

I've only briefly covered what's possible with the color customizations. You can read more about this in the VS Code docs.

Now on to this week's hand-picked links!
 
 

VS Code Tools

Open in GitHub Button — A VS Code extension, built on an older extension, that adds an "open in GitHub" button to VS Code's status bar.

ChatIDE — Another option to add ChatGPT in a side panel in VS Code that also includes support for an AI technology called Claude, with the ability to import/export your conversation history.

Commit Message Editor — A VS Code extension that allows you to add a standardized format to your commit messages, with portable config for teams, and a nice clean UI.

Tech Productivity — A brief weekly newsletter featuring tips, tools, and articles on productivity, work culture, remote work, well-being, brain science, and more.  Sponsor 

Colorize — A VS Code extension to help visualize CSS colors in CSS files and CSS preprocessors like SCSS, Less, PostCSS, and Stylus.

VS Code Articles

VS Code 1.78 (April 2023 Updates) — The latest updates to VS Code include better screen reader support, new color themes, a standalone color picker, and lots more.

VS Code - Auto Rename HTML Tags in React, Vue, Svelte, Nunjucks, and Others — Part of an ongoing series by the author, this one actually covering a new feature in the newest release of VS Code (see previous link).

Bytes: Your Favourite JavaScript Newsletter — I subscribe to a lot of newsletters, but this is definitely one I look forward to. Entertaining with lots of cool and useful JavaScript coding tidbits, news, and tools.  Sponsor 

Debugging Python Apps in VS Code — Mainly focused on using VS Code's debugger, but it will also help if you're familiar with uvicorn, FastAPI, and Docker.
 

Best of the Rest

NeoAI — A Neovim plugin that adds GPT-4 directly to your editor, to help you generate code, rewrite text, and even get suggestions in-context with your code.

AI Code Translator — An online tool that uses AI to convert from one programming language to another, with support for about 50+ languages.

A List of Programming Playgrounds — I wouldn't say this is an exhaustive list, but there's quite a bit here and probably all you'll need.


Suggestions?

If you have any link suggestions, including a tool, article, or other resources related to VS Code or another IDE, send it via DM on X: @LouisLazaris or just hit reply on this email.

That's it for this issue.

Happy VS Coding!
Louis
VSCode.Email
@LouisLazaris
Copyright © VSCode.Email. All rights reserved.

Not affiliated with Microsoft, Visual Studio Code, or any of its trademarks.