To install SmallJS prerequisites, see below.
To update components, check Updating
Download the latest version here:
Download the latest version here:
On MacOS you should add VSCode to the path, this way:
In VSCode, open the Command Palette (Cmd+Shift+P) type 'shell command' to find:
Shell Command: Install 'code' command in PATH command
click on to add VSCode to the path.
From Chrome and Edge, step debugging is built into VSCode. For debugging in Firefox you should install this extension: Debugger for Firefox.
Note:
If you are using Ubuntu with Firefox installed in a Snap container,
the extension wil not work because it does not have access to the /tmp
dir.
To fix this, these lines should be added to the launch.json
file of your browser projects:
"timeout": 90000,
"tmpDir": "/some/folder/of/yours/with/write/perms",
Download the latest version here:
This is needed to install the SmallJS language extension.
npm install -g @vscode/vsce
To install TypeScript globally:
npm install -g typescript
A static HTTP server is installed globally with this command:
npm install -g http-server