From 731786439cd0c36a8eee721cc44ec26795609e00 Mon Sep 17 00:00:00 2001 From: Anthony Starks Date: Fri, 1 Apr 2011 14:44:57 +1100 Subject: [PATCH] misc/notepadplus: add syntax and completion support for notepad++ R=golang-dev, adg, peterGo CC=golang-dev https://golang.org/cl/4274072 --- misc/notepadplus/README | 8 ++++ misc/notepadplus/go.xml | 66 +++++++++++++++++++++++++++++ misc/notepadplus/userDefineLang.xml | 36 ++++++++++++++++ 3 files changed, 110 insertions(+) create mode 100755 misc/notepadplus/README create mode 100755 misc/notepadplus/go.xml create mode 100755 misc/notepadplus/userDefineLang.xml diff --git a/misc/notepadplus/README b/misc/notepadplus/README new file mode 100755 index 0000000000..000d31746d --- /dev/null +++ b/misc/notepadplus/README @@ -0,0 +1,8 @@ +Given a Notepad++ installation at : + +1. Add the contents of userDefineLang.xml at \userDefineLang.xml + between ... + +2. Copy go.xml to \plugins\APIs + +3. Restart Notepad++ diff --git a/misc/notepadplus/go.xml b/misc/notepadplus/go.xml new file mode 100755 index 0000000000..7c5d8a1739 --- /dev/null +++ b/misc/notepadplus/go.xml @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/misc/notepadplus/userDefineLang.xml b/misc/notepadplus/userDefineLang.xml new file mode 100755 index 0000000000..d1927a3407 --- /dev/null +++ b/misc/notepadplus/userDefineLang.xml @@ -0,0 +1,36 @@ + + + + + + + + + "`0"` + + + ( ) [ ] { } ... . , _ & ^ % > < ! = + - * | : + 1/* 2*/ 0// + append bool break byte cap case chan close complex complex128 complex64 const continue copy default defer else fallthrough false float32 float64 for func go goto if iota imag import int int16 int32 int64 int8 interface len make map new nil package panic print println range real recover return select string struct switch true type uint uint16 uint32 uint64 uint8 uintptr var + + + + + + + + + + + + + + + + + + + + + +