A comprehensive VS Code extension for Jira Query Language (JQL), offering advanced syntax highlighting and a robust multi-line formatter.
Features
🎨 Syntax Highlighting
- Exhaustive support for all JQL keywords (
AND, OR, ORDER BY, etc.).
- Complete coverage of JQL functions (over 50 functions including
currentUser(), latestReleasedVersion(), workItemHistory()).
- Support for JSM fields (
request-type, SLA, approvals) and Developer status fields (development[pullrequests].all).
- Intelligent Jira Issue Key recognition (e.g.,
ABC-123) to prevent numeric highlighting interference.
- Case-insensitive matching for keywords and functions.
- Keyword Normalization: Automatically converts JQL keywords to uppercase.
- Smart Spacing: Ensures consistent spacing around operators (
=, !=, IN, etc.).
- Multi-line Logical Splitting: Automatically splits complex queries into multiple lines at every
AND or OR operator for maximum readability.
- Nested Indentation: Applies hierarchical indentation for logical groups defined by parentheses.
- Style Protection: Preserves quoted strings, Jira issue keys, and relative date offsets without modification.
- Refined Layout: Keeps function calls on a single line and places logical grouping parentheses on their own lines to anchor complex logic.
Usage
- Open any
.jql file.
- Experience automatic syntax highlighting.
- Use the VS Code "Format Document" command (
Option+Shift+F on macOS) to beautify your queries.
Issues & Feedback
Please report any issues or suggest improvements on the GitHub Repository.
License
MIT
| |