FluxLang VS Code Extension
This extension adds support for .flx files and provides commands to run FluxLang scripts from VS Code.
Features
- Recognizes
.flx files as FluxLang source.
- Adds
Run FluxLang File command in the editor and explorer context menus.
- Opens the FluxLang demo page automatically after running a
.flx script.
Usage
- Open this folder in VS Code.
- Run the
Run FluxLang File command from the command palette or right-click a .flx file.
- The FluxLang demo page (
index.html) will open automatically.
Installation
Install the extension locally from the extension development host, or run vsce package if you have the VS Code Extension Manager installed.
Local install from VSIX
- Package the extension:
cd fluxlang-vscode
npm install
npx --yes vsce package --no-dependencies
- Install the generated VSIX:
- Open the Extensions view in VS Code
- Click
... → Install from VSIX...
- Select
fluxlang-vscode-0.1.0.vsix
Publish to Marketplace
Before publishing, update fluxlang-vscode/package.json with your real publisher ID in the publisher field.
If you want to publish from the command line, create a Personal Access Token (PAT) with Marketplace Manage scope, then run:
npm install
npx --yes vsce publish --pat <YOUR_PAT>
| |