Dark Bit Factory & Gravity

PROGRAMMING => Freebasic => Topic started by: Rbz on January 14, 2020

Title: Visual Studio Code - lang-freebasic
Post by: Rbz on January 14, 2020
For those here using FreeBasic and would like to use a modern editor like Visual Studio Code (https://code.visualstudio.com/), I've found a syntax highlighting for FreeBasic  language.

You can download it from here:
https://marketplace.visualstudio.com/items?itemName=me0698.lang-freebasic

Below an example of  a build "tasks.json" to compile your .bas files:
Code: [Select]
{
    // 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
            }
        }
    ]
}