Browse Source

Add GoToType and GoToImplementation for Java in the docs

micbou 6 years ago
parent
commit
8b07bd14b8
2 changed files with 8 additions and 4 deletions
  1. 4 2
      README.md
  2. 4 2
      doc/youcompleteme.txt

+ 4 - 2
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
 

+ 4 - 2
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*