- Find your extensions folder
- Open the CMD palette (Power + CTRL + P) and type "Open Extension Folder"
- Use git to clone https://github.com/bitburner-official/bitburner-vscode into the extension directory
- Restart VSCode
- Configure the extension:
- Open the extension extension by either :
- using "CTRL + SHIFt + X"
- Open the CMD palette (Power + CTRL + P) and type "Show installed extensions"
- Select the gear icon (⚙) by bitburner connector extension and select 'extension settings'
- Set the following settings:
- Script root :
./out/
- This way we dont' export any github tooling niceities
- Auth Token:
- Copy the auth token by opening bit burnern and folllowing:
API Server
->Copy Auth Token
- Copy the auth token by opening bit burnern and folllowing:
- Script root :
- Open the extension extension by either :
- Files in the
out/
directory are written to the desktop. - Bitburner netscript2 scripts do not allow for a relative path. So we have to instead use the absolute value of
/automation/lib/log.js
instead of../lib/log.js
. - Code is written for the
dev
branch
- You'll need to update index.d.ts from the official source