This extension is made to make DarkBASIC development easier on Visual Studio Code.
You are going to need a separate DarkBASIC executable (DB.exe) if you want to compile and execute the code directly from Visual Studio Code.
vscode-debugadapter : version 1.41.0
- [WIP] Syntax highlight for DarkBASIC
For now, only comments andif
andfor
keywords are highlighted. - Auto-generated
tasks.json
andlaunch.json
to compile and execute DBA source code with an external compiler
If you want to use the external DB.exe compiler :
- After opening your DB project with VSCode, press
Ctrl+Shift+P
then research the command "Generate DarkBASIC Configuration Files". - Point to your DB.exe compiler executable in the next dialog.
- Point to your main .DBA source file in the next dialog. This is the file that will be executed as an entry point of your DarkBASIC project. Press 'cancel' to use the current viewed DBA file as the entry point.
You will be able to compile your code using
Ctrl+Shift+B
and/or directly execute using F5
or Ctrl+F5
- Missing keywords highlight
- Debug session won't stop automatically after exiting the executable
- Not working with DarkBASIC Pro (only tested with DarkBASIC Classic v1.09B)
First release :
- Basic syntax highlight for DarkBASIC : comments,
if
andfor
keywords - Auto-generated
tasks.json
andlaunch.json