• Welcome to Dark Bit Factory & Gravity.
 

Visual Studio Code - lang-freebasic

Started by Rbz, January 13, 2020

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Rbz

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-freebasic

Below 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
            }
        }
    ]
}
Challenge Trophies Won: