Documentation
¶
Index ¶
- Variables
- func GetLSPClient(root string) *lsp.LSPClient
- func GetRawSymbol(root, file, mod, name string, receiver string, caseInsensitive bool) *lsp.DocumentSymbol
- func GetSymbol(root, file, mod, name string, receiver string, caseInsensitive bool) string
- func GetSymbolContentAndLocation(root, file, mod, name string, receiver string, caseInsensitive bool) (string, [2]int)
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultLSPInitTime = time.Second * 60
Functions ¶
func GetLSPClient ¶
func GetRawSymbol ¶ added in v0.2.3
func GetRawSymbol(root, file, mod, name string, receiver string, caseInsensitive bool) *lsp.DocumentSymbol
查找符号对应的代码 root: 项目根目录 file: 文件路径 mod: 命名空间,空表示本文件根 name: 符号名 receiver: method接收者,为空表示不是method
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.