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
@@ -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"})
|
||||
|
||||
Reference in new issue
Block a user