Frequently Asked Questions

August 21, 2024 ยท View on GitHub

I cannot install this extension from VSCode Marketplace / I am not the fan of Microsoft

If you got troubles when install from Visual Studio Market, you can download the VSIX file of Cactbot Highlight from VSCode Extension Market and install it manually.

If you are using an OSS version of VSCode, you can also install it from Open VSX Registry.

Why isn't my timeline files not highlighted?

If you're using this extension in the cactbot repo that you clone from OverlayPlugin's branch, this feature is already enabled by default, because there is already a default settings in .vscode directory.

But if you're using this extension out of a repo, you might need to enable it manually.

The timeline files in Cactbot are *.txt files, which is recognized as "Plain Text" by default in VSCode, thus we should add an extra setting to enable the highlighting.

For a Single File

Click Plain Text button at right bottom, select cactbot-timeline in the prompt window.

For the Whole Workspace

Create or edit the .vscode/settings.json file in your workspace, add or modify the files.associations option like the following example.

{
  "files.associations": {
    "**/data/**/*.txt": "cactbot-timeline"
  }
}