Language definitions for notepad++

Hi all,

I’ve done a number of google searches but is anybody aware of some kind of import I can do to have notepad++ display content in the relevance and/or action script languages by chance?

Thanks!

1 Like

Can you please better describe your request ? What information do you need to rerieve from notepad ++ ?

Here’s one for Sublime that is TextMate compatible:

I’m hoping it may be relatively straightforward to port this to Notepad++.

1 Like

Thank you Aram, I’ll give that a try!

:+1:

FDA, similar to how you can choose to have content in notepad++ displayed in XML or SQL format I am asking if there’s a way to have content displayed in the Relevance or Action Script languages.

No luck. But to be fair I don’t have any experience with porting :upside_down_face:

Here’s a quick first take on Relevance UDL for Notepad++:

<NotepadPlus> <UserLang name="Relevance" ext="" 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> <Keywords name="Comments"></Keywords> <Keywords name="Numbers, prefix1"></Keywords> <Keywords name="Numbers, prefix2"></Keywords> <Keywords name="Numbers, extras1"></Keywords> <Keywords name="Numbers, extras2"></Keywords> <Keywords name="Numbers, suffix1"></Keywords> <Keywords name="Numbers, suffix2"></Keywords> <Keywords name="Numbers, range"></Keywords> <Keywords name="Operators1"></Keywords> <Keywords name="Operators2"></Keywords> <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> <Keywords name="Folders in comment, open"></Keywords> <Keywords name="Folders in comment, middle"></Keywords> <Keywords name="Folders in comment, close"></Keywords> <Keywords name="Keywords1">and&#x000D;&#x000A;as&#x000D;&#x000A;contains&#x000D;&#x000A;does&#x000D;&#x000A;does not&#x000D;&#x000A;contain&#x000D;&#x000A;contains&#x000D;&#x000A;end with&#x000D;&#x000A;ends with&#x000D;&#x000A;equal&#x000D;&#x000A;equals&#x000D;&#x000A;start with&#x000D;&#x000A;starts with&#x000D;&#x000A;if&#x000D;&#x000A;then&#x000D;&#x000A;else&#x000D;&#x000A;exists&#x000D;&#x000A;is&#x000D;&#x000A;not&#x000D;&#x000A;contained by&#x000D;&#x000A;equal to&#x000D;&#x000A;greater than&#x000D;&#x000A;less than&#x000D;&#x000A;it&#x000D;&#x000A;item&#x000D;&#x000A;items&#x000D;&#x000A;mod&#x000D;&#x000A;number&#x000D;&#x000A;of&#x000D;&#x000A;or&#x000D;&#x000A;whose</Keywords> <Keywords name="Keywords2">Q:</Keywords> <Keywords name="Keywords3">!=&#x000D;&#x000A;=&#x000D;&#x000A;&amp;&#x000D;&#x000A;*&#x000D;&#x000A;+&#x000D;&#x000A;,&#x000D;&#x000A;-&#x000D;&#x000A;/&#x000D;&#x000A;;&#x000D;&#x000A;&lt;&#x000D;&#x000A;&gt;&#x000D;&#x000A;&gt;=&#x000D;&#x000A;&lt;=&#x000D;&#x000A;</Keywords> <Keywords name="Keywords4"></Keywords> <Keywords name="Keywords5"></Keywords> <Keywords name="Keywords6"></Keywords> <Keywords name="Keywords7"></Keywords> <Keywords name="Keywords8"></Keywords> <Keywords name="Delimiters">00&quot; 01 02&quot; 03/* 04 05*/ 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23</Keywords> </KeywordLists> <Styles> <WordsStyle name="DEFAULT" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /> <WordsStyle name="COMMENTS" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /> <WordsStyle name="LINE COMMENTS" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /> <WordsStyle name="NUMBERS" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /> <WordsStyle name="KEYWORDS1" fgColor="0000FF" bgColor="FFFFFF" fontName="Courier New" fontStyle="0" nesting="0" /> <WordsStyle name="KEYWORDS2" fgColor="FF0000" bgColor="FFFFFF" fontName="Courier New" fontStyle="0" nesting="0" /> <WordsStyle name="KEYWORDS3" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /> <WordsStyle name="KEYWORDS4" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /> <WordsStyle name="KEYWORDS5" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /> <WordsStyle name="KEYWORDS6" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /> <WordsStyle name="KEYWORDS7" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /> <WordsStyle name="KEYWORDS8" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /> <WordsStyle name="OPERATORS" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /> <WordsStyle name="FOLDER IN CODE1" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /> <WordsStyle name="FOLDER IN CODE2" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /> <WordsStyle name="FOLDER IN COMMENT" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /> <WordsStyle name="DELIMITERS1" fgColor="408080" bgColor="FFFFFF" fontName="Courier New" fontStyle="0" nesting="0" /> <WordsStyle name="DELIMITERS2" fgColor="008000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /> <WordsStyle name="DELIMITERS3" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /> <WordsStyle name="DELIMITERS4" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /> <WordsStyle name="DELIMITERS5" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /> <WordsStyle name="DELIMITERS6" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /> <WordsStyle name="DELIMITERS7" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /> <WordsStyle name="DELIMITERS8" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /> </Styles> </UserLang> </NotepadPlus>

3 Likes

I have posted the UDLs I created for np++ on GitHub: https://github.com/itsmpro92/BigFix

Feel free to use and adjust as you see fit.

5 Likes

Thank you Aram and thank you Boyd!

Just tried it out. Downloaded the XML files from the GitHub from @itsmpro92

Open Notepad++
Language>>Define your Language
Import button
Select the XML file you downloaded from GitHub
Close the dialog.

Now you should see BigFix Relevance at the bottom of the Language menu in your Notepad++

Repeat for the BigFix Action Script file.

results are pretty nifty!

5 Likes