JavaAction Editor
Overview
Editing Java Actions in Mendix means switching to an external IDE, open IntelliJ or VS Code, navigate to the right file, make your change, and switch back. That's a lot of context switching for checking a parameter mapping or fixing a one-liner.
The Mendix Java Editor solves this by adding a Monaco-powered Java editor directly inside Studio Pro. Right-click any Java Action in App Explorer, select "Open in Java Editor", and the source file opens in a new tab with full syntax highlighting. Make your edit, click Save, and you're done, no IDE switching, no file hunting.
The editor uses Monaco, the same engine behind VS Code, giving you Java syntax highlighting, word-based autocomplete, a minimap for quick navigation, and bracket pair colorization. A status bar shows the file path and save state at a glance.
This is intentionally a lightweight editor for quick inspections and small edits. It does not include a Java Language Server, so there are no compile errors, type checking, or import resolution. For heavy refactoring, you'll still want a full IDE.
Monaco is bundled locally, so the extension works fully offline without any CDN dependency.
Documentation
Typical usage scenario
Quickly inspect or make small edits to Java Action source files without leaving Studio Pro. Right-click any Java Action in App Explorer, select "Open in Java Editor", and view the code immediately. Ideal for checking parameter mappings, tweaking a line, or reviewing logic, no need to switch to IntelliJ or VS Code for minor changes.
Features:
- Right-click context menu integration on Java Actions
- Monaco editor (VS Code's engine) with Java syntax highlighting
- Basic word-based autocomplete
- Save button with status indicator
- Minimap and bracket pair colorization
- Fully offline, Monaco is bundled locally
Limitations:
- No Java Language Server (LSP) — no compile errors, type checking, or import resolution. For heavy refactoring, use a full IDE.
- Opening the same Java Action in multiple tabs can cause data loss. If you edit and save in one tab, then save in the other, the second save will overwrite the first. Avoid opening the same file twice.
Known bugs
No known bugs at this time. If you encounter any issues, please reach out.