-
Notifications
You must be signed in to change notification settings - Fork 5
Contribute
Cory Smith edited this page Aug 22, 2022
·
1 revision
- NPM: https://nodejs.org/en/download/ or https://nodejs.dev/learn/how-to-install-nodejs
- Typescript:
npm install -g typescript
- VSCode Types:
npm install -g --save @types/vscode
- NodeJS Types:
npm install -g --save @types/node
- To get Node:FS to compile
npm i --save-dev @types/node
- For the linter
npm install vscode-languageserver
- Download the source to a folder
- Open VS Code an open the downloaded folder from step 1
- Run
npm install -g vsce
in the terminal (if you don't your changes won't get applied) - Press F5 -- A new VS code window will open
- In the new VS Code window open a QB64 file
- This new VS Code window will have the QB64 extension enabled
- Open settings and change the path to your QB64.exe:
qb64.compilerPath
- Note on Windows need to use
\\
for path separators- Example:
"qb64.compilerPath": "c:\\QB64\\qb64.exe"
- This has been updated to work with '/' in windows (as of v0.2.0).
- Example:
- Linux and Mac OS should use
/
for path separators
- Note on Windows need to use
- The launch.json & extensions.json are now auto created.
-- The files are not overwritten so any custom changes are safe. - The extension is now always rebuilt when debugging.
- The syntax settings are in the file
syntaxes\qb64.Language.json
- The build tasks are in
tasks
folder
- Open VS Code and add the folder from this project to the workspace
- Open a terminal window in VS Code
- Run
npm install -g vsce
from the terminal window (if not already installed) - Run
npm i vscode-debugadapter
from the terminal window (if not already installed) - Run
vsce package
from the terminal window - Right click the
qb64*.vsix
extension file and choose Install Extension - The project install will be placed in root of this project
The syntax settings can be found in /syntaxes/qb64.tmLanguage.json
.
The build tasks are in /tasks
folder.