dotfiles/HELIX_LSP_GUIDE

18 lines
649 B
Text

`gd` (goto definition when LSP is active)
`gy` (goto type definition)
`gr` (goto references)
`gi` (goto implementation)
`<space>k` (show documentation for item under cursor)
`<space>s` (show picker for symbols in file)
`<space>S` (show picker for symbols in workspace)
`<space>d` (document diagnostics picker for file)
`<space>D` (document diagnostics picker for workspace)
`<space>r` (rename symbol)
`<space>a` (apply code action, not show what that means though...)
`<space>h` (select symbol references)
`]d` (goto next diagnostic)
`[d` (goto previous diagnostic)
`]D` (goto last diagnostic in document)
`[D` (goto first diagnostic in document)