Skip to content

Commit 649b0c1

Browse files
authored
Added Notepad++ Support (#44)
* Add Notepad++ support * Added README
1 parent 4c970a5 commit 649b0c1

2 files changed

Lines changed: 50 additions & 0 deletions

File tree

notepad++/C3.xml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<NotepadPlus>
2+
<UserLang name="C3" ext="c3 c3i c3t">
3+
<Settings>
4+
<Global caseIgnored="no" />
5+
<TreatAsSymbol comment="yes" commentLine="yes" />
6+
<Prefix words1="no" words2="no" words3="yes" words4="yes" />
7+
</Settings>
8+
<KeywordLists>
9+
<Keywords name="Folder+">{</Keywords>
10+
<Keywords name="Folder-">}</Keywords>
11+
<Keywords name="Operators">- ! " # $ % &amp; ( ) * , . / : ; ? @ [ \ ] ^ { | } ~ + &lt; = &gt;</Keywords>
12+
<Keywords name="Comment"> 1/* 2*/ 1&lt;* 2*&gt; 0//</Keywords>
13+
<Keywords name="Words1">alias asm assert attrdef bitstruct break case catch const continue def default defer distinct do else enum extern false fault tlocal for foreach foreach_r fn if inline import macro module nextcase null interface return static struct switch true try union var while</Keywords>
14+
<Keywords name="Words2">void bool char double float float16 bfloat int128 ichar int iptr isz long short uint128 uint ulong uptr ushort usz float128 any typeid String ZString WString DString</Keywords>
15+
<Keywords name="Words3">$</Keywords>
16+
<Keywords name="Words4">@</Keywords>
17+
<Keywords name="Delimiter1">" "</Keywords>
18+
<Keywords name="Delimiter2">' '</Keywords>
19+
<Keywords name="Delimiter3">` `</Keywords>
20+
</KeywordLists>
21+
<Styles>
22+
<WordsStyle name="DEFAULT" styleID="11" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
23+
<WordsStyle name="FOLDEROPEN" styleID="12" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
24+
<WordsStyle name="FOLDERCLOSE" styleID="13" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
25+
<WordsStyle name="KEYWORD1" styleID="5" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" />
26+
<WordsStyle name="KEYWORD2" styleID="6" fgColor="0080FF" bgColor="FFFFFF" fontName="" fontStyle="1" />
27+
<WordsStyle name="KEYWORD3" styleID="7" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="0" />
28+
<WordsStyle name="KEYWORD4" styleID="8" fgColor="FF0080" bgColor="FFFFFF" fontName="" fontStyle="0" />
29+
<WordsStyle name="COMMENT" styleID="1" fgColor="008000" bgColor="FFFFFF" fontName="" fontStyle="0" />
30+
<WordsStyle name="COMMENT LINE" styleID="2" fgColor="008000" bgColor="FFFFFF" fontName="" fontStyle="0" />
31+
<WordsStyle name="NUMBER" styleID="4" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="0" />
32+
<WordsStyle name="OPERATOR" styleID="10" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="1" />
33+
<WordsStyle name="DELIMITER1" styleID="14" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" />
34+
<WordsStyle name="DELIMITER2" styleID="15" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" />
35+
<WordsStyle name="DELIMITER3" styleID="16" fgColor="808080" bgColor="FFFFFF" fontName="" fontStyle="0" />
36+
</Styles>
37+
</UserLang>
38+
</NotepadPlus>

notepad++/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# C3 Language Support for Notepad++
2+
3+
## Usage
4+
5+
- Copy the `c3_npp.xml` file to:
6+
- `%APPDATA%\Notepad++\userDefineLangs`
7+
8+
Alternatively, you can import it directly through the Notepad++ application:
9+
1. Open Notepad++
10+
2. Go to **Language** > **User Defined Language** > **Define your language...**
11+
3. Click on **Import...** and select the `c3_npp.xml` file.
12+
4. Restart Notepad++ to apply the changes.

0 commit comments

Comments
 (0)