Update miscellaneous commands in documentation
Remove StartServer and StopServer subcommands from documentation. Update the list of languages supporting the RestartServer subcommand.
This commit is contained in:
parent
6bafb6c272
commit
35f594ff1c
43
README.md
43
README.md
@ -872,8 +872,7 @@ JavaScript project, you can do one of the following:
|
|||||||
[ycmd server][ycmd] (`:YcmRestartServer`)
|
[ycmd server][ycmd] (`:YcmRestartServer`)
|
||||||
- change Vim's working directory (`:cd /path/to/new/project`), open a JavaScript
|
- change Vim's working directory (`:cd /path/to/new/project`), open a JavaScript
|
||||||
file (or set filetype to JavaScript) and restart the Tern server using YCM
|
file (or set filetype to JavaScript) and restart the Tern server using YCM
|
||||||
completer subcommands `:YcmCompleter StopServer` and `:YcmCompleter
|
completer subcommand `:YcmCompleter RestartServer`.
|
||||||
StartServer`.
|
|
||||||
|
|
||||||
#### Tips and tricks
|
#### Tips and tricks
|
||||||
|
|
||||||
@ -1444,32 +1443,6 @@ These commands are for general administration, rather than IDE-like features.
|
|||||||
They cover things like the semantic engine server instance and compilation
|
They cover things like the semantic engine server instance and compilation
|
||||||
flags.
|
flags.
|
||||||
|
|
||||||
#### The `ClearCompilationFlagCache` subcommand
|
|
||||||
|
|
||||||
YCM caches the flags it gets from the `FlagsForFile` function in your
|
|
||||||
`ycm_extra_conf.py` file if you return them with the `do_cache` parameter set to
|
|
||||||
`True`. The cache is in memory and is never invalidated (unless you restart Vim
|
|
||||||
of course).
|
|
||||||
|
|
||||||
This command clears that cache entirely. YCM will then re-query your
|
|
||||||
`FlagsForFile` function as needed in the future.
|
|
||||||
|
|
||||||
Supported in filetypes: `c, cpp, objc, objcpp`
|
|
||||||
|
|
||||||
#### The `StartServer` subcommand
|
|
||||||
|
|
||||||
Starts the semantic-engine-as-localhost-server for those semantic engines that
|
|
||||||
work as separate servers that YCM talks to.
|
|
||||||
|
|
||||||
Supported in filetypes: `cs, go, javascript, rust`
|
|
||||||
|
|
||||||
#### The `StopServer` subcommand
|
|
||||||
|
|
||||||
Stops the semantic-engine-as-localhost-server for those semantic engines that
|
|
||||||
work as separate servers that YCM talks to.
|
|
||||||
|
|
||||||
Supported in filetypes: `cs, go, javascript, rust`
|
|
||||||
|
|
||||||
#### The `RestartServer` subcommand
|
#### The `RestartServer` subcommand
|
||||||
|
|
||||||
Restarts the semantic-engine-as-localhost-server for those semantic engines that
|
Restarts the semantic-engine-as-localhost-server for those semantic engines that
|
||||||
@ -1482,7 +1455,19 @@ python binary to use to restart the Python semantic engine.
|
|||||||
:YcmCompleter RestartServer /usr/bin/python3.4
|
:YcmCompleter RestartServer /usr/bin/python3.4
|
||||||
```
|
```
|
||||||
|
|
||||||
Supported in filetypes: `cs, python, rust`
|
Supported in filetypes: `cs, go, javascript, python, rust, typescript`
|
||||||
|
|
||||||
|
#### The `ClearCompilationFlagCache` subcommand
|
||||||
|
|
||||||
|
YCM caches the flags it gets from the `FlagsForFile` function in your
|
||||||
|
`ycm_extra_conf.py` file if you return them with the `do_cache` parameter set to
|
||||||
|
`True`. The cache is in memory and is never invalidated (unless you restart Vim
|
||||||
|
of course).
|
||||||
|
|
||||||
|
This command clears that cache entirely. YCM will then re-query your
|
||||||
|
`FlagsForFile` function as needed in the future.
|
||||||
|
|
||||||
|
Supported in filetypes: `c, cpp, objc, objcpp`
|
||||||
|
|
||||||
#### The `ReloadSolution` subcommand
|
#### The `ReloadSolution` subcommand
|
||||||
|
|
||||||
|
@ -66,11 +66,9 @@ Contents ~
|
|||||||
2. The 'RefactorRename <new name>' subcommand |RefactorRename-new-name|
|
2. The 'RefactorRename <new name>' subcommand |RefactorRename-new-name|
|
||||||
3. Multi-file Refactor |youcompleteme-multi-file-refactor|
|
3. Multi-file Refactor |youcompleteme-multi-file-refactor|
|
||||||
4. Miscellaneous Commands |youcompleteme-miscellaneous-commands|
|
4. Miscellaneous Commands |youcompleteme-miscellaneous-commands|
|
||||||
1. The |ClearCompilationFlagCache| subcommand
|
1. The |RestartServer| subcommand
|
||||||
2. The |StartServer| subcommand
|
2. The |ClearCompilationFlagCache| subcommand
|
||||||
3. The |StopServer| subcommand
|
3. The |ReloadSolution| subcommand
|
||||||
4. The |RestartServer| subcommand
|
|
||||||
5. The |ReloadSolution| subcommand
|
|
||||||
8. Functions |youcompleteme-functions|
|
8. Functions |youcompleteme-functions|
|
||||||
1. The |youcompleteme#GetErrorCount| function
|
1. The |youcompleteme#GetErrorCount| function
|
||||||
2. The |youcompleteme#GetWarningCount| function
|
2. The |youcompleteme#GetWarningCount| function
|
||||||
@ -1128,8 +1126,7 @@ project, you can do one of the following:
|
|||||||
|
|
||||||
- change Vim's working directory (':cd /path/to/new/project'), open a
|
- change Vim's working directory (':cd /path/to/new/project'), open a
|
||||||
JavaScript file (or set filetype to JavaScript) and restart the Tern server
|
JavaScript file (or set filetype to JavaScript) and restart the Tern server
|
||||||
using YCM completer subcommands ':YcmCompleter StopServer' and
|
using YCM completer subcommand ':YcmCompleter RestartServer'.
|
||||||
':YcmCompleter StartServer'.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
*youcompleteme-tips-tricks*
|
*youcompleteme-tips-tricks*
|
||||||
@ -1730,6 +1727,19 @@ These commands are for general administration, rather than IDE-like features.
|
|||||||
They cover things like the semantic engine server instance and compilation
|
They cover things like the semantic engine server instance and compilation
|
||||||
flags.
|
flags.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
The *RestartServer* subcommand
|
||||||
|
|
||||||
|
Restarts the semantic-engine-as-localhost-server for those semantic engines
|
||||||
|
that work as separate servers that YCM talks to.
|
||||||
|
|
||||||
|
An additional optional argument may be supplied for Python, specifying the
|
||||||
|
python binary to use to restart the Python semantic engine.
|
||||||
|
>
|
||||||
|
:YcmCompleter RestartServer /usr/bin/python3.4
|
||||||
|
<
|
||||||
|
Supported in filetypes: 'cs, go, javascript, python, rust, typescript'
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
The *ClearCompilationFlagCache* subcommand
|
The *ClearCompilationFlagCache* subcommand
|
||||||
|
|
||||||
@ -1743,35 +1753,6 @@ This command clears that cache entirely. YCM will then re-query your
|
|||||||
|
|
||||||
Supported in filetypes: 'c, cpp, objc, objcpp'
|
Supported in filetypes: 'c, cpp, objc, objcpp'
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
|
||||||
The *StartServer* subcommand
|
|
||||||
|
|
||||||
Starts the semantic-engine-as-localhost-server for those semantic engines that
|
|
||||||
work as separate servers that YCM talks to.
|
|
||||||
|
|
||||||
Supported in filetypes: 'cs, go, javascript, rust'
|
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
|
||||||
The *StopServer* subcommand
|
|
||||||
|
|
||||||
Stops the semantic-engine-as-localhost-server for those semantic engines that
|
|
||||||
work as separate servers that YCM talks to.
|
|
||||||
|
|
||||||
Supported in filetypes: 'cs, go, javascript, rust'
|
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
|
||||||
The *RestartServer* subcommand
|
|
||||||
|
|
||||||
Restarts the semantic-engine-as-localhost-server for those semantic engines
|
|
||||||
that work as separate servers that YCM talks to.
|
|
||||||
|
|
||||||
An additional optional argument may be supplied for Python, specifying the
|
|
||||||
python binary to use to restart the Python semantic engine.
|
|
||||||
>
|
|
||||||
:YcmCompleter RestartServer /usr/bin/python3.4
|
|
||||||
<
|
|
||||||
Supported in filetypes: 'cs, python, rust'
|
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
The *ReloadSolution* subcommand
|
The *ReloadSolution* subcommand
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user