|
@@ -59,8 +59,10 @@ Contents ~
|
|
|
8. The |GoToImplementationElseDeclaration| subcommand
|
|
|
2. Semantic Information Commands |youcompleteme-semantic-information-commands|
|
|
|
1. The |GetType| subcommand
|
|
|
- 2. The |GetParent| subcommand
|
|
|
- 3. The |GetDoc| subcommand
|
|
|
+ 2. The |GetTypeImprecise| subcommand
|
|
|
+ 3. The |GetParent| subcommand
|
|
|
+ 4. The |GetDoc| subcommand
|
|
|
+ 5. The |GetDocImprecise| subcommand
|
|
|
3. Refactoring and FixIt Commands |youcompleteme-refactoring-fixit-commands|
|
|
|
1. The |FixIt| subcommand
|
|
|
2. The 'RefactorRename <new name>' subcommand |RefactorRename-new-name|
|
|
@@ -1580,6 +1582,20 @@ NOTE: Causes re-parsing of the current translation unit.
|
|
|
|
|
|
Supported in filetypes: 'c, cpp, objc, objcpp, javascript, typescript'
|
|
|
|
|
|
+-------------------------------------------------------------------------------
|
|
|
+The *GetTypeImprecise* subcommand
|
|
|
+
|
|
|
+WARNING: This command trades correctness for speed!
|
|
|
+
|
|
|
+Same as the |GetType| command except that it doesn't recompile the file with
|
|
|
+libclang before looking up nodes in the AST. This can be very useful when
|
|
|
+you're editing files that take long to compile but you know that you haven't
|
|
|
+made any changes since the last parse that would lead to incorrect type. When
|
|
|
+you're just browsing around your codebase, this command can spare you quite a
|
|
|
+bit of latency.
|
|
|
+
|
|
|
+Supported in filetypes: 'c, cpp, objc, objcpp'
|
|
|
+
|
|
|
-------------------------------------------------------------------------------
|
|
|
The *GetParent* subcommand
|
|
|
|
|
@@ -1624,6 +1640,20 @@ under the cursor. Depending on the file type, this includes things like:
|
|
|
Supported in filetypes: 'c, cpp, objc, objcpp, cs, python, typescript,
|
|
|
javascript'
|
|
|
|
|
|
+-------------------------------------------------------------------------------
|
|
|
+The *GetDocImprecise* subcommand
|
|
|
+
|
|
|
+WARNING: This command trades correctness for speed!
|
|
|
+
|
|
|
+Same as the |GetDoc| command except that it doesn't recompile the file with
|
|
|
+libclang before looking up nodes in the AST. This can be very useful when
|
|
|
+you're editing files that take long to compile but you know that you haven't
|
|
|
+made any changes since the last parse that would lead to incorrect docs. When
|
|
|
+you're just browsing around your codebase, this command can spare you quite a
|
|
|
+bit of latency.
|
|
|
+
|
|
|
+Supported in filetypes: 'c, cpp, objc, objcpp'
|
|
|
+
|
|
|
-------------------------------------------------------------------------------
|
|
|
*youcompleteme-refactoring-fixit-commands*
|
|
|
Refactoring and FixIt Commands ~
|