Visual Studio Code
The following packages provide VSCode:
- (open-source release)
- AUR (Microsoft-branded release)
- AUR (in-development open-source version)
code to start the application (or
code-git when using AUR).
If for any reason you wish to launch multiple instances of Visual Studio Code, the
-n flag can be used.
stores settings in
~/.config/Code - OSS/User/settings.json.
AUR stores settings in
View > Integrated Terminal or
Ctrl + ` opens up an integrated terminal.
By default, Bash is used with no additional arguments, although this can be changed.
terminal.integrated.shell.linux sets the default shell to be used and
terminal.integrated.shellArgs.linux sets the arguments to be passed to the shell.
"terminal.integrated.shell.linux": "/usr/bin/fish", "terminal.integrated.shellArgs.linux": ["-l","-d 3"]
If you are using Terminator as default terminal for Arch and you have an error on Visual Studio Code:
Unable to launch debugger worker process (vsdbg) through the terminal. spawn truecolor ENOENT, you can change the terminal that will be used by Visual Studio to another terminal (eg gnome-terminal).
"terminal.external.linuxExec": "Yours alternative terminal" sets the default terminal to be used for exec debug.
Visual Studio Code uses DBus to pass the menu to Plasma, try installing
Unable to move items to trash
By default, Electron apps use
gvfs-trash to delete files. This command is deprecated and no longer exists, so the
ELECTRON_TRASH environment variable must be used instead to specify which trash utility should be used.
For example, for deleting files under Plasma:
$ ELECTRON_TRASH=kioclient5 code
At the time of writing, Electron supports
gvfs-trash (default). More info is available at this Github pull request page.