The background
I have been using vscode on Ubuntu/Windows1 as my primary text editor for quite a time. When “installing” vscode, I usually download the tar.gz and add a shortcut in gnome dock on my own. This method brings portability to the application. However, for all data to be contained2 within the vscode directory, we need to create a new directory named data in the same location where the binary reside.
Upgrading the version
When a new vscode version is released, and I need to upgrade, the process would be as follows.
- Download the
tar.gzof new version. - Close all
vscodewindows. - Backup the current
vscodedirectory. - Copy the
datadirectory from backup to the extracted directory.
With above, all customizations will be copied from the previous to the new, leaving next to nothing to reconfigure.
On Windows, I’ve also been using Sublime Text and https://github.com/lite-xl/lite-xl since they are faster and lighter. ↩︎