Skip to content

Commit 9f96b19

Browse files
committed
first commit
0 parents  commit 9f96b19

File tree

3 files changed

+63
-0
lines changed

3 files changed

+63
-0
lines changed

CoffeeScript.xml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<NotepadPlus>
2+
<!-- Created by Farrin A. Reid , see https://github.com/blakmatrix/CoffeeScript_notepad_UDL for latest version-->
3+
<UserLang name="CoffeeScript" ext="coffee coco CAKEFILE">
4+
<Settings>
5+
<Global caseIgnored="no" escapeChar="\" />
6+
<TreatAsSymbol comment="no" commentLine="no" />
7+
<Prefix words1="no" words2="no" words3="no" words4="no" />
8+
</Settings>
9+
<KeywordLists>
10+
<Keywords name="Delimiters">&quot;&apos;0&quot;&apos;0}</Keywords>
11+
<Keywords name="Folder+">{</Keywords>
12+
<Keywords name="Folder-">}</Keywords>
13+
<Keywords name="Operators">- ! ( ) * , . / : ? @ [ ] { } + &lt; = &gt;</Keywords>
14+
<Keywords name="Comment">1### 2### 0#</Keywords>
15+
<Keywords name="Words1">class extends new instanceof do return break continue throw for while until loop if else unless switch when then and or in of by is isnt not typeof delete where super try catch finally constructor</Keywords>
16+
<Keywords name="Words2">false true yes no on off undefined null NaN Infinity</Keywords>
17+
<Keywords name="Words3">-&gt; Object Number Boolean Array String RegExp Function Date Math eval setInterval clearInterval setTimeout clearTimeout isFinite isNaN parseFloat parseInt escape unescape console encodeURI encodeURIComponent decodeURI decodeURIComponent window document navigator location history screen alert prompt process GLOBAL require exports</Keywords>
18+
<Keywords name="Words4">#{ case default function var void with const let enum export import native __hasProp __extends __slice __bind __indexOf</Keywords>
19+
</KeywordLists>
20+
<Styles>
21+
<WordsStyle name="DEFAULT" styleID="11" fgColor="000000" bgColor="FFFFFF" fontName="Consolas" fontStyle="0" />
22+
<WordsStyle name="FOLDEROPEN" styleID="12" fgColor="000000" bgColor="FFFFFF" fontName="Consolas" fontStyle="0" />
23+
<WordsStyle name="FOLDERCLOSE" styleID="13" fgColor="000000" bgColor="FFFFFF" fontName="Consolas" fontStyle="0" />
24+
<WordsStyle name="KEYWORD1" styleID="5" fgColor="0000FF" bgColor="FFFFFF" fontName="Consolas" fontStyle="1" />
25+
<WordsStyle name="KEYWORD2" styleID="6" fgColor="408080" bgColor="FFFFFF" fontName="Consolas" fontStyle="1" />
26+
<WordsStyle name="KEYWORD3" styleID="7" fgColor="800080" bgColor="FFFFFF" fontName="Consolas" fontStyle="1" />
27+
<WordsStyle name="KEYWORD4" styleID="8" fgColor="FF0000" bgColor="FFFFFF" fontName="Consolas" fontStyle="1" />
28+
<WordsStyle name="COMMENT" styleID="1" fgColor="008000" bgColor="FFFFFF" fontName="Consolas" fontStyle="1" />
29+
<WordsStyle name="COMMENT LINE" styleID="2" fgColor="008000" bgColor="FFFFFF" fontName="Consolas" fontStyle="0" />
30+
<WordsStyle name="NUMBER" styleID="4" fgColor="848400" bgColor="FFFFFF" fontName="Consolas" fontStyle="0" />
31+
<WordsStyle name="OPERATOR" styleID="10" fgColor="FF8040" bgColor="FFFFFF" fontName="Consolas" fontStyle="1" />
32+
<WordsStyle name="DELIMINER1" styleID="14" fgColor="A31515" bgColor="FFFFFF" fontName="Consolas" fontStyle="1" />
33+
<WordsStyle name="DELIMINER2" styleID="15" fgColor="9D0000" bgColor="FFFFFF" fontName="Consolas" fontStyle="1" />
34+
<WordsStyle name="DELIMINER3" styleID="16" fgColor="000000" bgColor="FFFFFF" fontName="Consolas" fontStyle="0" />
35+
<WordsStyle name="REGEX" styleID="52" fgColor="8000FF" bgColor="F2F4FF" fontName="" fontStyle="0" fontSize="" />
36+
</Styles>
37+
</UserLang>
38+
</NotepadPlus>

README.markdown

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# CoffeeScript syntax highlighting for Notepad++
2+
***
3+
4+
It's not perfect by any means, but I believe its the best one can get leveraging Notepad++'s user-defined language.
5+
6+
7+
![An example Screenshot](/example_screenshot.png)
8+
9+
10+
## Deployment
11+
12+
13+
1. If you don't have an userDefineLang.xml file already, you can drop this file among your other configuration file, in the Notepad++ Install Folder. It should be named userDefineLang.xml.
14+
2. Otherwise, open both the existing and new file.
15+
- Select all of the new file, copy, and paste at the end of the current file.
16+
- This should have created a spurious </Notepad_Plus><Notepad_plus> pair in the middle, each tag on a line by itself. Remove these two consecutive lines.
17+
- Close Notepad++.
18+
19+
20+
Your Languages menu should show the newly added language at the bottom, next time you launch Notepad++.
21+
22+
23+
***
24+
### Contact
25+
Contact me at blakmatrix@gmail.com for any questions or tips!

example_screenshot.png

36.1 KB
Loading

0 commit comments

Comments
 (0)