Ingest the generic outline into the symbol index
Each open document's text outline is published as its own context (outline:<uri>, provenance document-outline) on content change and removed on close, so it never replaces compiler facts. workspace/symbol no longer requires the occurrence observer, and documentSymbol skips the outline's index copies. The generic stdio session now resolves a workspace symbol with no compiler-specific artifact.
This commit is contained in:
1 parent
103b38a291
commit
0b33a0cd99
3 files changed
+60
-1
No files matched your search
@@ -61,6 +61,22 @@ start coordinate only, so ranges are zero-width until an end is available.
|
||||
LSP adapters and index/rename/debugging integration remain open. `vbs test`
|
||||
passed all 17 native suites; CMake passed the reflection and trace suites.
|
||||
|
||||
## December 6 generic outline ingested into the symbol index
|
||||
|
||||
Each open document's text outline is published as its own index context
|
||||
(`outline:<uri>`, provenance `document-outline`) when its content changes and
|
||||
removed when the document closes, so it never replaces the compiler facts for
|
||||
the same document. `workspace/symbol` no longer requires the occurrence
|
||||
observer, and `documentSymbol` skips the outline's index copies.
|
||||
|
||||
In the D-032 session (plain compilation database, no observer):
|
||||
```
|
||||
documentSymbol: [('main', 12)]
|
||||
workspace/symbol: ['main'] error: None
|
||||
hover error: -32601
|
||||
```
|
||||
All 18 native suites and all 18 CMake tests passed.
|
||||
|
||||
## December 6 generic document outline
|
||||
|
||||
`include/vls/features/Outline.hpp` adds a compiler-independent outline: a
|
||||
|
||||
Reference in new issue
Block a user