diff --git a/README.md b/README.md index 3071e40c..927c727b 100644 --- a/README.md +++ b/README.md @@ -853,6 +853,8 @@ Quick Feature Summary * 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`) @@ -1751,7 +1753,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 @@ -1766,7 +1768,7 @@ Supported in filetypes: `cs` 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` ### Semantic Information Commands diff --git a/doc/youcompleteme.txt b/doc/youcompleteme.txt index 7f1182a2..1c3bdea2 100644 --- a/doc/youcompleteme.txt +++ b/doc/youcompleteme.txt @@ -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*