[SourceKit] Add option to index local symbols to IndexSource request

Adds optional `key.should_index_locals` flag to the SourceKit `source.request.indexsource` request.
If true, the response includes symbol info for both locals and globals.
This commit is contained in:
Simon Barinka
2023-10-09 20:59:43 +02:00
parent 43b6117d28
commit b13a7f5829
7 changed files with 44 additions and 14 deletions

View File

@@ -214,6 +214,7 @@ UID_KEYS = [
KEY('ExpandedMacroReplacements', 'key.expanded_macro_replacements'),
KEY('IndexStorePath', 'key.index_store_path'),
KEY('IndexUnitOutputPath', 'key.index_unit_output_path'),
KEY('ShouldIndexLocals', 'key.should_index_locals'),
]