[IDE] Add full documentation to code completion result #82464
a7medev
changed the title [IDE] Add full documentation to code completion result [WIP] [IDE] Add full documentation to code completion result 188 days ago
a7medev
marked this pull request as draft 188 days ago
a7medev
changed the title [WIP] [IDE] Add full documentation to code completion result [IDE] Add full documentation to code completion result 185 days ago
a7medev
marked this pull request as ready for review 185 days ago
rintaro
approved these changes
on 2025-08-26
[Demangle] Implement Swift USR to Decl conversion
07ccde1c
[Demangle] Separate DeclNameExtractor & Clang USR to Decl
68648fa1
[USR] Allow generating Swift USR for any Clang decl
3c87df17
[Demangle] Optimize USR to Clang Decl performance
d226e819
[Demangle] Find extension by underlying module for Clang decls
f257c5ad
[Demangle] Rename getDeclFromUSR to getDeclForUSR for consistency
ffaba8f1
[Demangle] Fix issues with Clang USR to Decl reconstruction
5d5b7e9b
[Demangle] Remove unused lookup DC param to getDeclForUSR
0740bf2c
[Demangle] Move move switch' default at the bottom
dfac0aec
[IDE] Verify USR to Decl on code completion
f661cb66
[IDE] Add verify USR to Decl completion option
d8ca958a
[IDE] Don't pass ASTContext directly to verifyUSRToDeclReconstruction
6572e4e2
[Demangle] Compare extension module against underlying module in find…
cddab7fc
[Test] Default to verify USR to Decl in tests
ba8dd053
[Test] Don't check equality of decls in verifyUSRToDeclReconstruction
ea04332f
[Demangle] Fix DeclName extraction for raw identifiers
4a5140c3
[Demangle] Extract identifier from PrivateDeclName & RelatedEntityDec…
bef8fd80
[ASTContext] Remove module from NameToModules on load module with sam…
58c4cfae
[Demangle] Remove unqualified lookup in ASTBuilder::findDecl
e4b6f34a
[Demangle] Lookup Decl with privateDiscriminator in ASTBuilder::findDecl
4d5e7b76
[Test] Fix invalid redeclarations in completion tests & disable verif…
135e5e75
[IDE] Verify decls match in verify USR to Decl reconstruction
180cc0c0
[Demangle] Enhance coding style in ASTDemangler & DeclNameExtractor
47d9c8bd
[Demangle] Generalize ASTDemangler::findDecl to take a predicate func…
4bae353b
[IDE] Add full documentation to code completion result
6828ea5b
[IDE] Update code complete and documentation tests
155a91c1
[IDE] Rename complete_docbrief to complete_doc
bf25f11e
[IDE] Export swiftide_completion_item_get_doc_full
ab5138f2
[IDE] Add AssociatedDecl to CodeCompletionResult
bf007829
[IDE] Pass AssociatedDecl to CodeCompletionResult on creation
5e70024f
[IDE] Fetch declaration full documentation on-demand
761f9fa6
[IDE] Store Swift USR in ContextFreeCodeCompletionResult to find Asso…
f74e9bf6
[IDE] Enable full doc option in complete tests that assert on doc
b6c26afe
[IDE] Fetch completion result associated decl on-demand on printFullD…
1199ae10
[IDE] Pass mutable C-string to handler in swiftide_completion_item_ge…
71ebfd91
[USR] Split USRGenerationRequest into SwiftUSRGenerationRequest & Cla…
888976c9
[IDE] Switch assert false to ABORT in verifyUSRToDeclReconstruction
6a4ba09e
[IDE] Apply clang-format to full documentation changes
4cbeeffd
[IDE] NFC: Add doc comment for on-demand CodeCompletionResult::getAss…
5a009c1d
[IDE] Use response scratch in swiftide_completion_item_get_doc_full
c1a109e2
[USR] Remove unneeded code in USR to Decl conversion
8de0eb20
[Test] Don't print brief comment in diagnostics in swift-ide-test
75866b71
[USR] Move distinguishSynthesizedDecls check from ClangUSRGenerationR…
fe568f12
[IDE] Remove includeFullDocumentation option in code complete request
a7422dc8
[Test] Check full doc in completion with swift-ide-test
f3b47e93
NFC: Apply clang-format to full documentation in completion changes
8cd26ba2
[Test] Add IDE tests for full and brief documentation
dda4a07c
[Demangle] Demangle operator function name in DeclNameExtractor
309e1bf2
[Test] Disable USR to Decl verification in crashers with invalid name…
e5cd9b60
[Mangler] Mangle compatibility aliases as decls synthesized by ClangI…
f9a1f8e6
[Test] Add checks for typealias mangling as Clang-importer-synthesized
62baf210
[IDE] Provide raw & XML documentation for completion items
8866d85b
[Test] Enable USR to Decl verification in IDE/complete_crashes & IDE/…
fd8204b9
[Test] Add sort by name option to swift-ide-test for completion
e98f82b2
[Test] Update completion doc tests to check for raw doc comment
46aafcfa
a7medev
force pushed
to
46aafcfa
136 days ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub