VSCode: Vala Development
How to setup VSCodium (Open Source Visual Studio Code) for Vala development.
If you like my work, ❤️ Sponsor Me. It would mean the world to me!
VSCodium
Install VSCodium from deb package (as documented on the official website).
Add the GPG key of the repository:
Add the repository:
Update package information and install vscodium:
Syntax Highlighting
To begin with, you need to install the Vala Plugin for Visual Studio Code:
Visit the plugin's website and click "Download Extension" (a *.vsix file)
Run VSCodium
From within VSCodium, open the Extensions tab (
Ctrl + Shift + X
)Click
... > Install from VSIX...
on top of the Extensions sidebarSelect the previously downloaded *.vsix file and click
Install
Now you can install the Vala Language Server. For this, open a Terminal and execute the following command:
Debugging
Install the CodeLLDB Plugin for Visual Studio Code:
Visit the plugin's website and click "Download Extension" (a *.vsix file)
Run VSCodium
From within VSCodium, open the Extensions tab (
Ctrl + Shift + X
)Click
... > Install from VSIX...
on top of the Extensions sidebarSelect the previously downloaded *.vsix file and click
Install
Now you can install the LLDB Debugger. For this, open a Terminal and execute the following command:
Make sure to restart VSCodium and then you are nearly ready to start: When you start the debugger the first time in a project, it will ask for a run configuration. Here's a minimal one which should be enough to get you started:
If you want to know more, make sure to have a look at the README in the CodeLLDB repo.
Further Reading
Last updated