Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

UDL file for Notepad++

Arndt Schaefer
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 13, 2025

Hi,

I'd like to get JQL added as a UDL in Notepad++ to have syntax highlighting.

(yes, I know that might sound odd but I am used to that, so don't blame me :-))

Unfortunately it looks like Notepad++ doesn't have that language xml in their current list.

Is there anyone that has such an xml of knows where to get it?

1 answer

1 vote
Evgenii
Community Champion
June 13, 2025

Hi, @Arndt Schaefer 

Welcome to Atlassian Community!

Made (with gpt help) such UDL, which seems to work. Tested it in my Notepad++.
Used Atlassian JQL cheat sheet, to teach gpt, what are correct functins/operators/etc...
Feel free to modify it.

<NotepadPlus>
<UserLang name="JQL" ext="jql" udlVersion="2.1">
<Settings>
<Global caseIgnored="yes" allowFoldOfComments="no" foldCompact="no" forcePureLC="0" decimalSeparator="0" />
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" />
</Settings>
<KeywordLists>
<!-- Comments -->
<Keywords name="Comments">/* */</Keywords>

<!-- Line comments -->
<Keywords name="LINE COMMENTS">//</Keywords>

<!-- Numbers not applicable for JQL -->

<!-- Operators -->
<Keywords name="Operators1">= != < > <= >= ~ IN NOT IN IS EMPTY WAS WAS IN WAS NOT IN</Keywords>

<!-- No secondary operators -->
<Keywords name="Operators2"></Keywords>

<!-- Folders in code - Not used in JQL -->
<Keywords name="Folders in code1, open"></Keywords>
<Keywords name="Folders in code1, middle"></Keywords>
<Keywords name="Folders in code1, close"></Keywords>
<Keywords name="Folders in code2, open"></Keywords>
<Keywords name="Folders in code2, middle"></Keywords>
<Keywords name="Folders in code2, close"></Keywords>

<!-- Folders in comment - Not used -->
<Keywords name="Folders in comment, open"></Keywords>
<Keywords name="Folders in comment, middle"></Keywords>
<Keywords name="Folders in comment, close"></Keywords>

<!-- Keywords -->
<Keywords name="Keywords1">AND OR NOT ORDER BY DESC ASC</Keywords>

<!-- Functions -->
<Keywords name="Keywords2">currentUser membersOf startOfDay startOfWeek startOfMonth startOfYear endOfDay endOfWeek endOfMonth endOfYear now linkedIssues parent subtasks issueFunction in</Keywords>

<!-- Fields -->
<Keywords name="Keywords3">project status assignee reporter creator component version fixVersion sprint team issuetype issuekey summary description environment created updated due resolution resolutiondate priority votes watchers label</Keywords>

<!-- Unused keyword slots -->
<Keywords name="Keywords4"></Keywords>
<Keywords name="Keywords5"></Keywords>
<Keywords name="Keywords6"></Keywords>
<Keywords name="Keywords7"></Keywords>
<Keywords name="Keywords8"></Keywords>

<!-- Delimiters -->
<Keywords name="Delimiters">( ) [ ] { } ' " \ |</Keywords>
</KeywordLists>
<Styles>
<!-- Default text -->
<WordsStyle name="DEFAULT" fgColor="000000" bgColor="FFFFFF" fontStyle="0" />

<!-- Comments -->
<WordsStyle name="COMMENTS" fgColor="008000" bgColor="FFFFFF" fontStyle="0" />
<WordsStyle name="LINE COMMENTS" fgColor="008000" bgColor="FFFFFF" fontStyle="0" />

<!-- Numbers (not used) -->
<WordsStyle name="NUMBERS" fgColor="000000" bgColor="FFFFFF" fontStyle="0" />

<!-- Keywords (clauses) -->
<WordsStyle name="KEYWORDS1" fgColor="00008B" bgColor="FFFFFF" fontStyle="1" />

<!-- Functions -->
<WordsStyle name="KEYWORDS2" fgColor="006400" bgColor="FFFFFF" fontStyle="0" />

<!-- Fields -->
<WordsStyle name="KEYWORDS3" fgColor="800000" bgColor="FFFFFF" fontStyle="0" />

<!-- Unused keyword styles -->
<WordsStyle name="KEYWORDS4" fgColor="000000" bgColor="FFFFFF" fontStyle="0" />
<WordsStyle name="KEYWORDS5" fgColor="000000" bgColor="FFFFFF" fontStyle="0" />
<WordsStyle name="KEYWORDS6" fgColor="000000" bgColor="FFFFFF" fontStyle="0" />
<WordsStyle name="KEYWORDS7" fgColor="000000" bgColor="FFFFFF" fontStyle="0" />
<WordsStyle name="KEYWORDS8" fgColor="000000" bgColor="FFFFFF" fontStyle="0" />

<!-- Operators -->
<WordsStyle name="OPERATORS" fgColor="800080" bgColor="FFFFFF" fontStyle="0" />

<!-- Code folding styles -->
<WordsStyle name="FOLDER IN CODE1" fgColor="000000" bgColor="FFFFFF" fontStyle="0" />
<WordsStyle name="FOLDER IN CODE2" fgColor="000000" bgColor="FFFFFF" fontStyle="0" />
<WordsStyle name="FOLDER IN COMMENT" fgColor="000000" bgColor="FFFFFF" fontStyle="0" />

<!-- Delimiters -->
<WordsStyle name="DELIMITERS1" fgColor="000000" bgColor="FFFFFF" fontStyle="0" />
<WordsStyle name="DELIMITERS2" fgColor="000000" bgColor="FFFFFF" fontStyle="0" />
<WordsStyle name="DELIMITERS3" fgColor="000000" bgColor="FFFFFF" fontStyle="0" />
<WordsStyle name="DELIMITERS4" fgColor="000000" bgColor="FFFFFF" fontStyle="0" />
<WordsStyle name="DELIMITERS5" fgColor="000000" bgColor="FFFFFF" fontStyle="0" />
<WordsStyle name="DELIMITERS6" fgColor="000000" bgColor="FFFFFF" fontStyle="0" />
<WordsStyle name="DELIMITERS7" fgColor="000000" bgColor="FFFFFF" fontStyle="0" />
<WordsStyle name="DELIMITERS8" fgColor="000000" bgColor="FFFFFF" fontStyle="0" />
</Styles>
</UserLang>
</NotepadPlus>

 

Suggest an answer

Log in or Sign up to answer