For those here using FreeBasic and would like to use a modern editor like
Visual Studio Code, I've found a syntax highlighting for FreeBasic language.
You can download it from here:
https://marketplace.visualstudio.com/items?itemName=me0698.lang-freebasicBelow an example of a build "tasks.json" to compile your .bas files:
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "FreeBasic",
"type": "shell",
"command": "c:/FreeBasic/FreeBASIC-1.07.1-win32/fbc.exe",
"args": [
"-s",
"console",
"${file}"
],
"group": {
"kind": "build",
"isDefault": true
}
}
]
}