PureBasic Syntax Highlighter for VS Code

This extension provides rich syntax highlighting and development tools for PureBasic (.pb, .pbi) in Visual Studio Code.
Features
- Syntax Highlighting: Comprehensive coloring for PureBasic keywords, strings, comments, and constants.
- Run: Quickly run your code without debugging using
Ctrl+F5.
- Debug: Launch the external PureBasic Debugger seamlessly with
F5.
- Build: Compile your code into an executable.
- Auto-Discovery: Automatically finds the PureBasic compiler (
pbcompiler) in standard installation locations.
Requirements
- PureBasic Installed: You must have PureBasic installed on your system.
- Compiler Path: If the extension cannot find
pbcompiler automatically, you may need to configure the path.
Setup
- Install the Extension.
- Open a PureBasic file (
.pb).
- Run or Debug:
- Press
F5 to Start Debugging (launches code with the /DEBUGGER flag, opening the PureBasic standalone debugger).
- Press
Ctrl+F5 to Run Without Debugging.
Configuration
If your PureBasic installation is in a custom location, add the following to your VS Code settings.json:
{
"purebasic.compilerPath": "C:\\MyCustomPath\\PureBasic\\Compilers\\pbcompiler.exe"
}
Known Issues
- The extension relies on the external PureBasic debugger window; it does not currently integrate into the VS Code debug pane variables/watch window.
Release Notes
0.0.1
- Initial release with syntax highlighting, run, and debug support.
License
PureBasic Syntax Highlighter for VS Code is licensed under the MIT License.
Made with 🖤 by @duty1g
| |