I'm using clangd extension for c/c++.
YouCompleteMe for vscode.
completion
lint
fixit
getType
- Semantic code completion with Ycmd backend
- Diagonostic display
- GetType with hover
- GoToDefinition with ctrl+click
- QuickFix
- alt+l diagonostic
- Install from vscode extension marketplace
- Install Ycmd, see Ycmd's Readme
- Config extension in your user or workspace settings.json
ycmd.path
: The directory where ycmd is installed, like:C:/Users/YOURNAME/.vim/bundle/YouCompleteMe/third_party/ycmd
ycmd.global_extra_config
: Optional, see ycm's Readmeycmd.python
: Optional, python execuable path.ycmd.confirm_extra_conf
: Optional, see ycm's Readmeycmd.enabled_languages
: Optional, default is["c", "cpp"]
. For objc, please addobjective-c
.ycmd.use_imprecise_get_type
: Optional, default is false. please see this link for more details.ycmd.lint_run
: Optional, default isonCall
. Change toonSave
if you want auto lint after save action.
golang