Auto merge of #2983 - micbou:gototype-command-docs, r=puremourning

[READY] Add GoToType command to documentation

The `GoToType` command was added a long time ago to the TypeScript completer (see PR https://github.com/Valloric/ycmd/pull/458) but not mentioned in the docs.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/valloric/youcompleteme/2983)
<!-- Reviewable:end -->
This commit is contained in:
zzbot 2018-04-16 15:47:42 -07:00 committed by GitHub
commit 6975efddc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 0 deletions

View File

@ -1614,6 +1614,13 @@ provides a list of implementations to choose from.
Supported in filetypes: `cs`
#### 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: `typescript`
### Semantic Information Commands
These commands are useful for finding static information about the code, such

View File

@ -72,6 +72,7 @@ Contents ~
6. The |GoToReferences| subcommand
7. The |GoToImplementation| subcommand
8. The |GoToImplementationElseDeclaration| subcommand
9. The |GoToType| subcommand
2. Semantic Information Commands |youcompleteme-semantic-information-commands|
1. The |GetType| subcommand
2. The |GetTypeImprecise| subcommand
@ -1908,6 +1909,14 @@ provides a list of implementations to choose from.
Supported in filetypes: 'cs'
-------------------------------------------------------------------------------
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: 'typescript'
-------------------------------------------------------------------------------
*youcompleteme-semantic-information-commands*
Semantic Information Commands ~