JFX Language Support (VS Code / Cursor)
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 -version must work)
Install from VSIX
- Download
jfx-language-0.2.0.vsix from 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
.vsix file.
- 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.2.0.vsix
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.
| |