|
@@ -807,16 +807,16 @@ will notify you to recompile it. You should then rerun the install process.
|
|
|
**Download the latest version of 'libclang'**. Clang is an open-source
|
|
|
compiler that can compile C-family languages. The 'libclang' library it
|
|
|
provides is used to power the YCM semantic completion engine for those
|
|
|
- languages. YCM is designed to work with libclang version 7.0.0 or higher.
|
|
|
+ languages. YCM is designed to work with libclang version 8.0.0 or higher.
|
|
|
|
|
|
In addition to 'libclang', YCM also supports an **experimental** clangd
|
|
|
[12]-based completer. You can download the latest version of clangd [12]
|
|
|
from llvm.org releases [41]. Follow Step 4 to learn how to tell YCM where
|
|
|
to find clangd binary. Please note that YCM is designed to work with
|
|
|
- clangd [12] version 7.0.0 or higher.
|
|
|
+ clangd [12] version 8.0.0 or higher.
|
|
|
|
|
|
You can use the system libclang or clangd _only if you are sure it is
|
|
|
- version 7.0.0 or higher_, otherwise don't. Even if it is, we recommend
|
|
|
+ version 8.0.0 or higher_, otherwise don't. Even if it is, we recommend
|
|
|
using the official binaries from llvm.org [41] if at all possible. Make
|
|
|
sure you download the correct archive file for your OS.
|
|
|
|
|
@@ -1086,6 +1086,8 @@ feedback.
|
|
|
- Real-time diagnostic display
|
|
|
- Go to definition (|GoTo|, |GoToDefinition|, and |GoToDeclaration| are
|
|
|
identical)
|
|
|
+- Go to type definition (|GoToType|)
|
|
|
+- Go to implementation (|GoToImplementation|)
|
|
|
- Reference finding (|GoToReferences|)
|
|
|
- View documentation comments for identifiers (|GetDoc|)
|
|
|
- Type information for identifiers (|GetType|)
|
|
@@ -2004,7 +2006,7 @@ Looks up the symbol under the cursor and jumps to its implementation (i.e.
|
|
|
non-interface). If there are multiple implementations, instead provides a list
|
|
|
of implementations to choose from.
|
|
|
|
|
|
-Supported in filetypes: 'cs'
|
|
|
+Supported in filetypes: 'cs, java'
|
|
|
|
|
|
-------------------------------------------------------------------------------
|
|
|
The *GoToImplementationElseDeclaration* subcommand
|
|
@@ -2021,7 +2023,7 @@ The *GoToType* subcommand
|
|
|
Looks up the symbol under the cursor and jumps to the definition of its type
|
|
|
e.g. if the symbol is an object, go to the definition of its class.
|
|
|
|
|
|
-Supported in filetypes: 'javascript, typescript'
|
|
|
+Supported in filetypes: 'java, javascript, typescript'
|
|
|
|
|
|
-------------------------------------------------------------------------------
|
|
|
*youcompleteme-semantic-information-commands*
|
|
@@ -3465,7 +3467,7 @@ to go through the full installation guide by hand.
|
|
|
I see 'undefined symbol: clang_getCompletionFixIt' in the server logs. ~
|
|
|
|
|
|
This means that the server is trying to load a version of libclang that is too
|
|
|
-old. You need at least libclang 7.0.0. We recommend running the 'install.py'
|
|
|
+old. You need at least libclang 8.0.0. We recommend running the 'install.py'
|
|
|
script without '--system-libclang' or downloading the latest prebuilt binaries
|
|
|
from llvm.org [41] when going through the full installation guide.
|
|
|
|