├── screenshot.png ├── functionList.xml ├── screenshot-asm.png ├── README.md ├── go.xml └── userDefineLang.xml /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chai2010/notepadplus-go/HEAD/screenshot.png -------------------------------------------------------------------------------- /functionList.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chai2010/notepadplus-go/HEAD/functionList.xml -------------------------------------------------------------------------------- /screenshot-asm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chai2010/notepadplus-go/HEAD/screenshot-asm.png -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | - *Go语言QQ群: 102319854, 1055927514* 2 | - *凹语言(凹读音“Wa”)(The Wa Programming Language): https://github.com/wa-lang/wa* 3 | 4 | ---- 5 | 6 | Notepad++ syntax highlighting 7 | ----------------------------- 8 | 9 | The `userDefineLang.xml` uses the new User Defined Language system (`UDL2`), 10 | which needs `Notepad++ v6.2` or higher. 11 | 12 | Installing from Notepad++ Installer 13 | 14 | 1. Add the contents of `userDefineLang.xml` at `%APPDATA%\Notepad++\userDefineLang.xml` 15 | between ` ... ` 16 | 2. Restart Notepad++ 17 | 18 | Installing from Notepad++ zip/7z package 19 | 20 | 1. Given a Notepad++ installation at ``. 21 | 2. Add the contents of `userDefineLang.xml` at `\userDefineLang.xml` 22 | between ` ... ` 23 | 3. Restart Notepad++ 24 | 25 | **Reference:** 26 | 27 | 1. http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=User_Defined_Languages 28 | 2. http://notepad-plus-plus.org/news/notepad-6.2-release-udl2.html 29 | 3. http://udl20.weebly.com/index.html 30 | 31 | 32 | Notepad++ Function List 33 | ----------------------- 34 | 35 | The `functionList.xml` uses the Function List Pane new feature, 36 | which needs Notepad++ v6.4 or higher. 37 | 38 | Installing from Notepad++ Installer 39 | 40 | 1. Add the contents of `functionList.xml` at `%APPDATA%\Notepad++\functionList.xml` 41 | between ` ... ` and ` ... ` 42 | 2. Restart Notepad++ 43 | 44 | Installing from Notepad++ zip/7z package 45 | 46 | 1. Given a Notepad++ installation at ``. 47 | 2. Add the contents of `functionList.xml` at `\functionList.xml` 48 | between ` ... ` and ` ... ` 49 | 3. Restart Notepad++ 50 | 51 | **Reference:** 52 | 53 | 1. http://notepad-plus-plus.org/features/function-list.html 54 | 55 | 56 | Notepad++ keyword auto-completion 57 | --------------------------------- 58 | 59 | 1. Given a Notepad++ installation at ``. 60 | 2. Copy `go.xml` to the `\autoCompletion` directory 61 | 3. Restart Notepad++ 62 | 63 | **Reference:** 64 | 65 | 1. http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=Auto_Completion 66 | 67 | 68 | Screenshots 69 | ----------- 70 | 71 | ![](screenshot.png) 72 | 73 | ![](screenshot-asm.png) 74 | 75 | BUGS 76 | ---- 77 | 78 | Please report bugs to . 79 | 80 | Thanks! 81 | -------------------------------------------------------------------------------- /go.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | -------------------------------------------------------------------------------- /userDefineLang.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 00// 01 02 03/* 04*/ 9 | 10 | 0x 0X 11 | a b c d e f A B C D E F 12 | 13 | 14 | i 15 | 16 | ( ) [ ] { } . , ; & ^ % > < ! = + - * / | : 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | break default func interface select case defer go map struct chan else goto package switch const fallthrough if range type continue for import return var 28 | bool byte complex64 complex128 error float32 float64 int int8 int16 int32 int64 rune string uint uint8 uint16 uint32 uint64 uintptr true false iota nil 29 | append cap close complex copy delete imag len make new panic print println real recover _ 30 | 31 | 32 | 33 | 34 | 35 | 00" 01\ 02" 03' 04\ 05' 06` 07 08` 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 00// 01 02 03/* 04*/ 71 | 72 | 0x 0X $ 73 | A B C D E F a b c d e f 74 | 75 | 76 | i 77 | 78 | ( ) [ ] { } . , ; & ^ % > < ! = + - * / | : 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | #include #define #if #ifdef #ifndef #endif DATA GLOBL TEXT FP SP SB PC 90 | NOPROF DUPOK NOSPLIT RODATA NOPTR WRAPPER NEEDCTXT GO_RESULTS_INITIALIZED NO_LOCAL_POINTERS 91 | $ get_tls 92 | 93 | 94 | 95 | 96 | 97 | 00" 01\ 02" 03' 04\ 05' 06` 07 08` 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | --------------------------------------------------------------------------------