Skip to content

Commit

Permalink
Document some more features
Browse files Browse the repository at this point in the history
  • Loading branch information
sam-mccall committed Jul 12, 2022
1 parent 6eba502 commit 621a410
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,22 @@ index.

Press `Ctrl-P #` to quickly navigate to a symbol by name.

### Hover and inlay hints

Clangd can describe almost any entity if you hover the mouse (or press Ctrl-KI).

![Hover and inlay hints](doc-assets/hover.png)

Inlay hints for parameters and deduced types can be shown temporarily or
permanently (the `editor.inlayHints.enabled` setting controls this).

### Include management

Code completion works across your codebase and adds `#include` directives where
needed. The `` shows includes that will be inserted.

clangd can also suggest inserting missing #includes, where they cause errors.
clangd can suggest inserting missing #includes, where they cause errors.
It can [warn on unused includes](https://clangd.llvm.org/guides/include-cleaner).

![Fix inserts include](doc-assets/include.png)

Expand Down
Binary file added doc-assets/hover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 621a410

Please sign in to comment.