Serve parameter inlay hints from occurrence signatures
A bounded core finds top-level argument starts (nested brackets, literals and comments aware) and projects parameter-type hints from the compiler signature, filtered to the requested range. The server advertises inlayHintProvider and serves textDocument/inlayHint through EditorDiagnostics. Registered tests cover splitting, filtering, short signatures and bounds; a real stdio session returned the std::string_view hint for the fnv1a64 argument. Refresh the parity matrix.
This commit is contained in:
1 parent
12a71ff692
commit
130cb57a7f
12 files changed
+360
-10
No files matched your search
@@ -79,6 +79,18 @@ the upgraded snapshot (keeping `snapshot.prev.json`) and rewrites a legacy
|
||||
about 25-30s in a Debug build (it passed VBS at ~27s); the full CMake run then
|
||||
passed 18/18.
|
||||
|
||||
## December 5 inlay hints from occurrence signatures
|
||||
|
||||
`include/vls/features/InlayHints.hpp` finds the top-level argument starts of a
|
||||
call (bounded, nested-bracket/literal/comment aware) and projects one
|
||||
parameter-type hint per argument from the compiler signature, filtered to the
|
||||
requested range and bounded. The server advertises `inlayHintProvider` and
|
||||
serves `textDocument/inlayHint` through `EditorDiagnostics`; a real stdio
|
||||
session with the stock observer returned
|
||||
`inlayHint: 1 first: [({'character': 41, 'line': 18}, 'std::string_view:', 2)]`
|
||||
for the `fnv1a64(text)` argument. `vls_feature_tests` grew from 54 to 60 cases.
|
||||
All 18 native suites and all 18 CMake tests passed.
|
||||
|
||||
## December 5 semantic tokens from stock occurrences
|
||||
|
||||
`include/vls/features/SemanticTokens.hpp` normalizes occurrence tokens
|
||||
|
||||
Reference in new issue
Block a user