Commit 844bc6c0 authored by ChaiShushan's avatar ChaiShushan Committed by Rob Pike

misc/notepadplus: support Calltips

Fixes #5789.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/10601043
parent 5dde7cce
<NotepadPlus> <NotepadPlus>
<!-- Go Programming Language builtins and keywords --> <!-- Go Programming Language builtins and keywords -->
<AutoComplete> <AutoComplete>
<KeyWord name="append"/> <KeyWord name="append" func="yes">
<Overload retVal="[]Type">
<Param name="slice []Type" />
<Param name="elems ...Type" />
</Overload>
</KeyWord>
<KeyWord name="bool" /> <KeyWord name="bool" />
<KeyWord name="break" /> <KeyWord name="break" />
<KeyWord name="byte" /> <KeyWord name="byte" />
<KeyWord name="cap" /> <KeyWord name="cap" func="yes">
<Overload retVal="int">
<Param name="v Type" />
</Overload>
</KeyWord>
<KeyWord name="case" /> <KeyWord name="case" />
<KeyWord name="chan" /> <KeyWord name="chan" />
<KeyWord name="close" /> <KeyWord name="close" func="yes">
<KeyWord name="complex" /> <Overload retVal="">
<Param name="c chan<- Type" />
</Overload>
</KeyWord>
<KeyWord name="complex" func="yes">
<Overload retVal="ComplexType">
<Param name="r" />
<Param name="i FloatType" />
</Overload>
</KeyWord>
<KeyWord name="complex128" /> <KeyWord name="complex128" />
<KeyWord name="complex64" /> <KeyWord name="complex64" />
<KeyWord name="const" /> <KeyWord name="const" />
<KeyWord name="continue" /> <KeyWord name="continue" />
<KeyWord name="copy" /> <KeyWord name="copy" func="yes">
<Overload retVal="int">
<Param name="dst" />
<Param name="src []Type" />
</Overload>
</KeyWord>
<KeyWord name="default" /> <KeyWord name="default" />
<KeyWord name="defer" /> <KeyWord name="defer" />
<KeyWord name="delete" /> <KeyWord name="delete" func="yes">
<Overload retVal="">
<Param name="m map[Type]Type1" />
<Param name="key Type" />
</Overload>
</KeyWord>
<KeyWord name="else" /> <KeyWord name="else" />
<KeyWord name="error" /> <KeyWord name="error" />
<KeyWord name="fallthrough" /> <KeyWord name="fallthrough" />
...@@ -30,7 +58,11 @@ ...@@ -30,7 +58,11 @@
<KeyWord name="goto" /> <KeyWord name="goto" />
<KeyWord name="if" /> <KeyWord name="if" />
<KeyWord name="iota" /> <KeyWord name="iota" />
<KeyWord name="imag" /> <KeyWord name="imag" func="yes">
<Overload retVal="FloatType">
<Param name="c ComplexType" />
</Overload>
</KeyWord>
<KeyWord name="import" /> <KeyWord name="import" />
<KeyWord name="int" /> <KeyWord name="int" />
<KeyWord name="int16" /> <KeyWord name="int16" />
...@@ -38,18 +70,50 @@ ...@@ -38,18 +70,50 @@
<KeyWord name="int64" /> <KeyWord name="int64" />
<KeyWord name="int8" /> <KeyWord name="int8" />
<KeyWord name="interface" /> <KeyWord name="interface" />
<KeyWord name="len" /> <KeyWord name="len" func="yes">
<KeyWord name="make" /> <Overload retVal="int">
<Param name="v Type" />
</Overload>
</KeyWord>
<KeyWord name="make" func="yes">
<Overload retVal="Type">
<Param name="Type" />
<Param name="size IntegerType" />
</Overload>
</KeyWord>
<KeyWord name="map" /> <KeyWord name="map" />
<KeyWord name="new" /> <KeyWord name="new" func="yes">
<Overload retVal="*Type">
<Param name="Type" />
</Overload>
</KeyWord>
<KeyWord name="nil" /> <KeyWord name="nil" />
<KeyWord name="package" /> <KeyWord name="package" />
<KeyWord name="panic" /> <KeyWord name="panic" func="yes">
<KeyWord name="print" /> <Overload retVal="">
<KeyWord name="println" /> <Param name="v interface{}" />
</Overload>
</KeyWord>
<KeyWord name="print" func="yes">
<Overload retVal="">
<Param name="args ...Type" />
</Overload>
</KeyWord>
<KeyWord name="println" func="yes">
<Overload retVal="" >
<Param name="args ...Type" />
</Overload>
</KeyWord>
<KeyWord name="range" /> <KeyWord name="range" />
<KeyWord name="real" /> <KeyWord name="real" func="yes">
<KeyWord name="recover" /> <Overload retVal="FloatType">
<Param name="c ComplexType" />
</Overload>
</KeyWord>
<KeyWord name="recover" func="yes">
<Overload retVal="interface{}">
</Overload>
</KeyWord>
<KeyWord name="return" /> <KeyWord name="return" />
<KeyWord name="rune" /> <KeyWord name="rune" />
<KeyWord name="select" /> <KeyWord name="select" />
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment