This repository was archived by the owner on May 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Get Started
Thiago 'Jedi' Abreu edited this page Feb 1, 2016
·
5 revisions
Vala is a programming language very similar to C#, using the GObject system and compiles to C. This means you can have a lot of performance and access to native libs with a very familiar syntax.
This extension helps you to use the great editor VS Code with this wonderful language.
In the VS Code, open your command palete and type ext install vala
That simple.
You can debug you Vala code with GDB debuger (or one of its front-ends) if you pass the correct flag to the compiler. Here's a sample task.json file to help you get started. Adapt it for your needs.
{
"version": "0.1.0",
"command": "valac",
"isShellCommand": true,
"args": ["hello.vala"],
"tasks": [
{
// Passes debug info to the compiler
"taskName": "Compile w/ Debug",
"args": ["-g"],
"suppressTaskName": true,
"isBuildCommand": true
},
{
// Useful if you want to go deeper on your errors
"taskName": "Compile w/ Debug and C files",
"args": ["-g","--save-temps"],
"suppressTaskName": true
},
{
// No debugging info
"taskName": "Compile Release",
"suppressTaskName": true
}
]
}