X16 Reference Settings
The X16 Reference needs no setup: it downloads the guide the first time you open it. This page is for choosing which version you get, or using a copy of your own.
Extension settings
| Name | Type | Optional | Description |
|---|---|---|---|
bitMagicX16Documentation.version |
string | Yes | Which docs to use, a dropdown in the Settings page: Master (master, the default), the newest docs, which may describe ROM changes that aren’t released yet; Latest release (latest), which matches the newest ROM; or A particular release (tag), the one in versionTag. |
bitMagicX16Documentation.versionTag |
string | Yes | The release to use when version is A particular release, eg r48. |
bitMagicX16Documentation.checkForUpdates |
bool | Yes | Check for new commits on master (or a new release, for Latest release) at most once a day, and download them. true by default. |
bitMagicX16Documentation.localPath |
string | Yes | Read the docs from this folder instead of downloading them, eg your own clone of x16-docs. |
bitMagicX16Documentation.languages |
string[] | Yes | More languages to show Look Up in the X16 Reference on the right-click menu, by language id, eg ["c", "ca65"]. Empty by default; extensions can declare their own languages too. |
How to choose a version
X16 Reference: Choose the X16 Reference Version lists master, the latest release and every release with its date, and sets version and versionTag for you. The new version is downloaded straight away, and the old one is removed.
The X16 community tags the guide with each ROM release, so r48 describes the R48 ROM. Choose the release that matches the ROM you’re writing for if master describes things your machine doesn’t have yet.
X16 Reference: Check for an Updated X16 Reference downloads the newest straight away, rather than waiting for the daily check.
How to use your own copy
Clone the guide and point localPath at it:
git clone https://github.com/X16Community/x16-docs
"bitMagicX16Documentation.localPath": "C:\\Source\\x16-docs"
That’s useful offline, or if you’re working on the guide itself: reload the window to see your changes.
When something goes wrong
The X16 Reference output channel logs what was downloaded and loaded, and any problems: a download that failed, or images or links in a page that didn’t work.
If GitHub can’t be reached, the extension carries on with the copy it already has. GitHub limits how often one address can use its API without signing in; the extension only needs a few calls a day, but if you hit the limit, try again later or use localPath.