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:
commit
6975efddc1
@ -1614,6 +1614,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
|
||||||
|
@ -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
|
||||||
@ -1908,6 +1909,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 ~
|
||||||
|
Loading…
Reference in New Issue
Block a user