Installation¶
Prerequisites¶
Required¶
- Visual Studio Code v1.105.0 or later
Optional (for building from source)¶
Installation methods¶
Method 1: Install pre-compiled extension¶
git clone https://github.com/cbase-larrymod/cbase-petscii-viewer.git
cd cbase-petscii-viewer
Via VS Code UI:
- Open Extensions panel (
Ctrl+Shift+XorCmd+Shift+X) - Click the
⋯menu (top-right of the panel) - Select Install from VSIX
- Navigate to
dist/cbase-petscii-viewer-0.4.0-beta.vsix - Click Install
Via command line:
code --install-extension dist/cbase-petscii-viewer-0.4.0-beta.vsix
Method 2: Build and install from source¶
git clone https://github.com/cbase-larrymod/cbase-petscii-viewer.git
cd cbase-petscii-viewer
npm install
npm run package
The package command creates dist/cbase-petscii-viewer-0.4.0-beta.vsix. Install using Method 1.
Method 3: Development installation¶
- Clone the repository
- Open the folder in VS Code
- Press
F5to launch the extension development host
See Development and testing for details.
Verification¶
Open any .seq or .petmate file. The viewer activates automatically and renders the content. The toolbar appears at the top of the editor panel.
Next steps¶
See Quick start.