Author Topic: Visual Studio Code - lang-freebasic  (Read 56 times)

0 Members and 1 Guest are viewing this topic.

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2731
  • Karma: 485
    • View Profile
    • http://www.rbraz.com/
Visual Studio Code - lang-freebasic
« on: January 14, 2020 »
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:
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
            }
        }
    ]
}
« Last Edit: January 15, 2020 by Rbz »
Challenge Trophies Won: