Henri Biestro created JEXL-467:
----------------------------------
Summary: TextMate editor support bundle for JEXL
Key: JEXL-467
URL: https://issues.apache.org/jira/browse/JEXL-467
Project: Commons JEXL
Issue Type: New Feature
Affects Versions: 3.7.0
Reporter: Henri Biestro
Assignee: Henri Biestro
Fix For: 3.7.1
WHAT:
Add an editor support bundle (tools/JEXL.tmbundle) providing syntax
highlighting and file-type recognition for .jexl files in TextMate-compatible
editors (IntelliJ IDEA, VS Code, TextMate).
WHY:
Without it, editors treat .jexl files as plain text. Developers writing or
debugging JEXL scripts get no highlighting, bracket matching, or comment
toggling, which slows reading and authoring of expressions. As JEXL script
files (loaded and executed via Engine.java) become more common in user
projects, first-class editor support becomes a reasonable expectation.
HOW:
Ship tools/JEXL.tmbundle/ containing:
* Syntaxes/JEXL.tmLanguage — TextMate grammar covering keywords, operators,
literals, comments, template strings, pragmas, and namespaced calls
(source.jexl scope).
* info.plist — bundle metadata for TextMate/IntelliJ registration.
* package.json — VS Code extension manifest wiring .jexl to the grammar.
* language-configuration.json — VS Code bracket matching, auto-close pairs, and
// / /* */ comment toggling.
No runtime or build changes; the bundle is documentation/tooling only.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)