deprecated
deprecated plugins
[!NOTE|label:references:]
install
[!TIP|label:references:]
C/C++/Objective-C/Objective-C++:
--clang-completerC#:
brew install Monofirst and enabled by--cs-completerGo:
brew install goand enabled by--go-completerTypeScript:insall Node.js and npm,and enable typescript via
npm install -g typescriptJavaScript: install Node.js and npm,and enabled via
--js-completerRust: install Rust,
--rust-completerJava:
brew install java,enabled via--java-completerfor all support : enabled via
--all
--clang-completer
C, C++, Objective-C
Clang(libclang)
Clang
--clangd-completer
C, C++, Objective-C
clang-tools-extra (clangd)
clang-tools-extra
--cs-completer
C#
Mono Runtime
Mono Runtime
--rust-completer
Rust
RustToolChains
RustToolChains
--go-completer
golang
GoToolchain
GoToolchain
--js-completer
JavaScript
Tern
node.js、npm
--ts-completer
JavaScript, TypeScript
tsserver
node.js、npm
--java-completer
Java
eclipse.jdt.ls
JDK8
--all
all
-
-
environment setup
macOS
[!NOTE|label:references:]
wsl/ubuntu install
[!NOTE|label:references:]
tips
using snap instead of apt for nodejs due to
offline ( only allows apt and git )
[!NOTE|label:references:]
C# support: install Mono on non-Windows platforms. Navigate to YouCompleteMe/third_party/ycmd/third_party/omnisharp-roslyn. Download an Omnisharp-Roslyn release archive and extract the archive to
YouCompleteMe/third_party/ycmd/third_party/omnisharp-roslyn.Java support: install JDK8 (version 8 required). Download a binary release of eclipse.jdt.ls and extract it to YouCompleteMe/third_party/ycmd/third_party/eclipse.jdt.ls/target/repository
windows
[!NOTE|label:references:]
install with
install.pywith
--system-libclang
install with
install.sh
tips
popup
[!NOTE|label:references]
YCM documentation hover - should we enable it by default
:help completeopt:help previewpopup:help completepopup
hint
extra
.ycm_extra_conf.py
[!NOTE|label:references]
to disable prompt message for extra config in vimrc
[!NOTE|label:references:]
vimrc
install
sample vimrc
[!DANGER|label:ERROR] not working for python3.9+, using codota/tabnine-nvim
disable tabnine for vim
not been using
[!NOTE|label:references:]
troubleshooting
[!TIP|label:how to debug:]
:message
:YcmDebugInfo
:YcmDiags
:YcmToggleLogs
:py3 import sys; print( sys.version):3.12.1 (main, Dec 7 2023, 20:45:44) [Clang 15.0.0 (clang-1500.0.40.1)]
ycmd
c++/libclang.dylib cannot be found issue
[!NOTE]
Question can be turned off with options, see YCM docs
ycm download failed
download failed for jdt-language-server-1.14.0-202207211651.tar.gz
[!NOTE|label:related issues:]
solution 1: using
ycm-core/YouCompleteMeinstead oftabnine/YouCompleteMe( details )solution 2:
copy/move clangd-16.0.1-x86_64-apple-darwin.tar.bz2 into
YouCompleteme/third_party/ycmd/third_party/eclipse.jdt.ls/target/cache/
download failed for clangd-17.0.1-x86_64-apple-darwin.tar.bz2 | clangd-17.0.1-x86_64-unknown-linux-gnu.tar.bz2
download failed for omnisharp.http-osx.tar.gz v1.37.11 | omnisharp.http-linux-x64.tar.gz
scripts for download
all caches
tips
libclangdownload failureerror
solution:
ultimate solution: using
YouCompleteMe/third_party/ycmdreplace thetabnine-vim/third_party/ycmd
replace the libclang 6.0.0 to
16.0.1./ycmd/cpp/ycm/CMakeLists.txt
full logs
ycm no hints
[!NOTE|label:references:]
tabnine
YouCompleteMe unavailable: module 'collections' has no attribute 'Mapping'[!TIP]
using codota/tabnine-nvim
python version:
solution
Killed: 9caused by enabled
--enable-cscope$ sudo make uninstall && sudo make install
Last updated
Was this helpful?