Syntax highlighting, diagnostics, validation, and formatting for Java Exchange Format (.jfx) files.
Requirements
- VS Code or Cursor 1.80+
- Java 17+ on your
PATH(java -versionmust work)
Install from VSIX
- Download
jfx-language-0.3.4.vsixfrom the Releases page (or build it locally). - Open VS Code / Cursor.
- Open the Extensions view (
Ctrl+Shift+X). - Click the
...menu → Install from VSIX... - Select the
.vsixfile. - Reload the window when prompted.
Usage
| Action | How |
|---|---|
Open a .jfx file |
Language mode should show JFX |
| Validate | Ctrl+Shift+P → JFX: Validate Current File |
| Format | Shift+Alt+F or Format Document |
| Diagnostics | Errors appear on open/save (Problems panel) |
Settings
| Setting | Description |
|---|---|
jfx.jarsPath |
Optional folder with jfx-core and jfx-tools JARs. Default: bundled JARs inside the extension. |
Build the VSIX yourself
From the JFX repository root:
.\scripts\build-release.ps1
cd jfx-vscode-extension
npm install
npm run package
Output: jfx-language-0.3.4.vsix
Install from Marketplace
Search JFX — Java Exchange Format in VS Code / Cursor Extensions, or open:
https://marketplace.visualstudio.com/items?itemName=vstack.jfx-language
Troubleshooting
- Validate / format fails — ensure Java is installed and on
PATH. - No highlighting — set language to JFX (bottom-right status bar).
- Output log — View → Output → select JFX.
License
Apache License 2.0 — see LICENSE.