1
0
mirror of https://github.com/golang/go synced 2024-11-23 06:50:05 -07:00
go/misc/notepadplus
ChaiShushan 33580e8305 misc/notepadplus: Fix Function List in Notepad++ 6.5
Since version 6.5, npp change the Function List syntax for User Defined Languages.
We need use userDefinedLangName syntax in association tag in Notepad++ 6.5.

Fix issue 6735.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/22770043
2013-12-18 10:17:38 -08:00
..
functionList.xml misc/notepadplus: Fix Function List in Notepad++ 6.5 2013-12-18 10:17:38 -08:00
go.xml misc/notepadplus: support Calltips 2013-08-14 13:41:36 +10:00
README misc/notepadplus: add Function List support 2013-08-05 08:24:55 -07:00
userDefineLang.xml misc/notepadplus: fix some number syntax highlight issue 2013-09-23 11:35:17 +10:00

Notepad++ syntax highlighting
-----------------------------

The userDefineLang.xml uses the new User Defined Language system (UDL2),
which needs Notepad++ v6.2 or higher.

Installing from Notepad++ Installer

  1. Add the contents of userDefineLang.xml at %APPDATA%\Notepad++\userDefineLang.xml
     between <NotepadPlus> ... </NotepadPlus>
  2. Restart Notepad++

Installing from Notepad++ zip/7z package

  1. Given a Notepad++ installation at <DIR>.
  2. Add the contents of userDefineLang.xml at <DIR>\userDefineLang.xml
     between <NotepadPlus> ... </NotepadPlus>
  3. Restart Notepad++

Reference

  1. http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=User_Defined_Languages
  2. http://notepad-plus-plus.org/news/notepad-6.2-release-udl2.html
  3. http://udl20.weebly.com/index.html


Notepad++ keyword auto-completion
---------------------------------

  1. Given a Notepad++ installation at <DIR>.
  2. Copy go.xml to <DIR>\plugins\APIs
  3. Restart Notepad++

Reference

  1. http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=Auto_Completion

Notepad++ Function List
-----------------------

The functionList.xml uses the Function List Pane new feature,
which needs Notepad++ v6.4 or higher.

Installing from Notepad++ Installer

  1. Add the contents of userDefineLang.xml at %APPDATA%\Notepad++\functionList.xml
     between <associationMap> ... </associationMap> and <parsers> ... </parsers>
  2. Restart Notepad++

Installing from Notepad++ zip/7z package

  1. Given a Notepad++ installation at <DIR>.
  2. Add the contents of functionList.xml at <DIR>\functionList.xml
     between <associationMap> ... </associationMap> and <parsers> ... </parsers>
  3. Restart Notepad++

Reference

  1. http://notepad-plus-plus.org/features/function-list.html