Add GoToType command to documentation

This commit is contained in:
micbou 2018-04-08 21:10:05 +02:00
parent e8477c16b6
commit de8c8f6441
No known key found for this signature in database
GPG Key ID: C7E8FD1F3BDA1E05
2 changed files with 16 additions and 0 deletions

View File

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

View File

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