Customizing vscode themes

I love the Dark+ Default Theme for vscode, but when programming in Python I always thought the class instance references (aka self) was too bright, which made the core in the class harder to read. Before: After: It’s pretty easy to customize any attribute in Visual Studio Code — you just need to know which token scope to use. With the cursor over the keyword, use Command Palette (CTRL-SHIFT-P) and select “Developer: Inspect Editor Tokens and Scopes” (official documentation). ...

August 8, 2020

Intl keyboard mapping for Latin characters on Ubuntu 20.04 (updated)

[![Wisdom of the Ancients](https://imgs.xkcd.com/comics/wisdom_of_the_ancients.png)](http://xkcd.com/979/) (note: this post was updated in May 2020 to reflect it works with Ubuntu 20.04 and Gnome 3.36.1. It has also been tested with Ubuntu 18.04 and Gnome 3.28.1. Original title “Using .XCompose with Chrome and Sublime Text”) If you use US International keyboard on Linux (e.g., if you write in Spanish or Brazilian Portuguese), you know the royal pain of having to press space after the compose character (typically '). Contractions like can’t, won’t, Mary’s, etc are a struggle, as you have to press space after ', otherwise you’ll get canť, wonť, Maryś, etc. ...

September 21, 2014

Syncing Sublime Text 2 Settings via Dropbox

I migrated to Sublime Text 2 a while ago, and not looking back. It’s by far the best editor I’ve ever used. Its packaging system is simple and efficient. But one thing that annoys me is the lack of synchronization across different computers. Not anymore. The solution is rather simple. You can just move three directories – Packages, Installed Packages, Pristine Packages – to your Dropbox, create a symbolic link for each directory (ln on Linux/OSX, mklink /d on Windows), and your packages will always be perfectly in sync across multiple computers - even using different platforms. ...

October 28, 2012

Fix ALL CAPS MENUS on Visual Studio 2012

So you just installed Visual Studio 2012 and the first thing you notice is that Microsoft now has ALL CAPS MENUS everywhere! Well, not sure about you, but I want my ProperCase menus back. Luckily there’s an easy solution (for now): Hit Win + R and enter: If you’re running Visual Studio Express 2012 for Windows Desktop: REG ADD HKEY_CURRENT_USER\Software\Microsoft\WDExpress\11.0\General /v SuppressUppercaseConversion /d 1 /t REG_DWORD If you’re running Visual Studio 2012: REG ADD HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0\General /v SuppressUppercaseConversion /d 1 /t REG_DWORD If you’re running Visual Studio Express 2012 for Web: REG ADD HKEY_CURRENT_USER\Software\Microsoft\VWDExpress\11.0\General /v SuppressUppercaseConversion /d 1 /t REG_DWORD Voilà! Of course you can also use RegEdit.exe, if you prefer to adjust manually. Just navigate to the registry key above and add a DWORD for SupressUppercaseConversion, with value 1. ...

October 20, 2012