.gitignore added
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / golang.org / x / tools / gopls@v0.6.9 / doc / features.md
1 # Features
2
3 This document describes some of the features supported by `gopls`. It is
4 currently under construction, so, for a comprehensive list, see the
5 [Language Server Protocol](https://microsoft.github.io/language-server-protocol/).
6
7 For now, only special features outside of the LSP are described below.
8
9 ## Special features
10
11 ### Symbol Queries
12
13 Gopls supports some extended syntax for `workspace/symbol` requests, when using
14 the `fuzzy` symbol matcher (the default). Inspired by the popular fuzzy matcher
15 [FZF](https://github.com/junegunn/fzf), the following special characters are
16 supported within symbol queries:
17
18 | Character | Usage     | Match        |
19 | --------- | --------- | ------------ |
20 | `'`       | `'abc`    | exact        |
21 | `^`       | `^printf` | exact prefix |
22 | `$`       | `printf$` | exact suffix |
23
24 <!--TODO(rstambler): Automatically generate a list of supported features.-->