A Visual Studio Code extension that provides enhanced language support for Opacc BlockScript and F-Script.
Successor of the legacy Opacc F-Script and Opacc BlockScript extensions
This extension is the successor of the legacy "Opacc F-Script" and "Opacc BlockScript" extensions. If you still have these legacy extensions installed, they may conflict with this extension — please uninstall them to avoid issues.
Features
Syntax highlighting
Opacc BlockScript
Opacc F-Script (including embedded BlockScript)
Note: Full syntax highlighting is only available when using the included Opacc theme. Some highlighting features may not work correctly with other themes.
Snippets
Includes snippets for all Block- and APS-functions.
Keybindings
Ctrl+1: Script File Template
Ctrl+2: Function Template
Ctrl+Shift+NumPadSubtract: editor.foldAll
Ctrl+Shift+NumPadAdd: editor.unfoldAll
Themes
Includes the Opacc dark theme.
Search in Opacc Manuals
Quickly search the Opacc documentation directly from your editor:
Right-click in any BlockScript or F-Script file and select "Search in Opacc Manuals" from the context menu
Select text to search for it, or leave nothing selected to be prompted for search text
Opens the search results in your default browser
The search URL can be customized in VS Code settings under opaccscripting.opaccManualsSearchUrl. The default URL template supports placeholders:
%SearchText% - replaced with your search query
%OxasDocVersion% - replaced with the OXAS version (dots removed)