Update ClearCompilationFlagCache docs
This commit is contained in:
parent
9a76fd2e9a
commit
f185b4ef12
@ -1605,12 +1605,13 @@ Supported in filetypes: `cs, go, javascript, python, rust, typescript`
|
|||||||
#### The `ClearCompilationFlagCache` subcommand
|
#### The `ClearCompilationFlagCache` subcommand
|
||||||
|
|
||||||
YCM caches the flags it gets from the `FlagsForFile` function in your
|
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
|
`ycm_extra_conf.py` file unless you return them with the `do_cache` parameter
|
||||||
`True`. The cache is in memory and is never invalidated (unless you restart Vim
|
set to `False`. It also caches the flags extracted from the compilation
|
||||||
of course).
|
database. The cache is in memory and is never invalidated (unless you restart
|
||||||
|
the server with the `:YcmRestartServer` command).
|
||||||
|
|
||||||
This command clears that cache entirely. YCM will then re-query your
|
This command clears that cache entirely. YCM will then re-query your
|
||||||
`FlagsForFile` function as needed in the future.
|
`FlagsForFile` function or your compilation database as needed in the future.
|
||||||
|
|
||||||
Supported in filetypes: `c, cpp, objc, objcpp`
|
Supported in filetypes: `c, cpp, objc, objcpp`
|
||||||
|
|
||||||
|
@ -1896,12 +1896,13 @@ Supported in filetypes: 'cs, go, javascript, python, rust, typescript'
|
|||||||
The *ClearCompilationFlagCache* subcommand
|
The *ClearCompilationFlagCache* subcommand
|
||||||
|
|
||||||
YCM caches the flags it gets from the 'FlagsForFile' function in your
|
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
|
'ycm_extra_conf.py' file unless you return them with the 'do_cache' parameter
|
||||||
to 'True'. The cache is in memory and is never invalidated (unless you restart
|
set to 'False'. It also caches the flags extracted from the compilation
|
||||||
Vim of course).
|
database. The cache is in memory and is never invalidated (unless you restart
|
||||||
|
the server with the |:YcmRestartServer| command).
|
||||||
|
|
||||||
This command clears that cache entirely. YCM will then re-query your
|
This command clears that cache entirely. YCM will then re-query your
|
||||||
'FlagsForFile' function as needed in the future.
|
'FlagsForFile' function or your compilation database as needed in the future.
|
||||||
|
|
||||||
Supported in filetypes: 'c, cpp, objc, objcpp'
|
Supported in filetypes: 'c, cpp, objc, objcpp'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user