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:
faumaray committed 2026-12-05 15:40:19 +03:00
1 parent 12a71ff692
commit 130cb57a7f
12 files changed
+360 -10

No files matched your search

+2 -1
View File
@@ -73,6 +73,7 @@ void build(Void::Build::Project &project) {
"src/features/TextStructure.cpp",
"src/features/CodeActions.cpp",
"src/features/SemanticTokens.cpp",
"src/features/InlayHints.cpp",
"src/debug/live/LiveSession.cpp",
"src/modules/ModuleWorkQueue.cpp",
"src/modules/GccScan.cpp",
@@ -153,7 +154,7 @@ void build(Void::Build::Project &project) {
{"tests/features/CompletionTests.cpp", "tests/features/IndexNavigationTests.cpp",
"tests/features/SignatureHelpTests.cpp", "tests/features/DocumentSymbolsTests.cpp",
"tests/features/TextStructureTests.cpp", "tests/features/CodeActionsTests.cpp",
"tests/features/SemanticTokensTests.cpp"});
"tests/features/SemanticTokensTests.cpp", "tests/features/InlayHintsTests.cpp"});
auto live_worker = project.executable("vls_live_worker_fixture");
live_worker.cxx_standard(CxxStandard::Cxx26)
.sources({"tests/debug/LiveWorkerFixture.cpp"})