Commit Graph

217 Commits

Author SHA1 Message Date
ykiko
74f1f13aaf Reland folding range (#94) 2025-02-26 13:20:34 +08:00
ykiko
ef4ce069b8 Index hover (#92) 2025-02-22 23:54:55 +08:00
ykiko
ac6edc8aaa Add LSPConverter (#89) 2025-02-21 19:39:39 +08:00
Shiyu
5823a1730b Update DocumentSymbol to support index. (#54) 2025-02-21 17:01:19 +08:00
ykiko
828d20b8c2 Add Location (#88) 2025-02-21 12:51:05 +08:00
Shiyu
bcb4c3895a Fix API of InlayHint, FoldingRange. (#87)
Co-authored-by: ur4t <46435411+ur4t@users.noreply.github.com>
2025-02-20 20:56:51 +08:00
ykiko
6b12e7f610 Refactor index (#84) 2025-02-20 19:25:50 +08:00
ur4t
5e29848f24 Allow build with libc++ (#85) 2025-02-19 19:22:42 +08:00
ykiko
1b8d22f2b4 Fix building. 2025-02-19 12:27:42 +08:00
ykiko
93af013613 Merge branch 'main' of https://github.com/clice-project/clice 2025-02-19 12:15:29 +08:00
ykiko
424ee09a40 Make toLocalRange return FileID 2025-02-19 12:15:27 +08:00
Shiyu
40912a8a91 Implement Hover on Expression and Identifier and some fix. (#83) 2025-02-18 21:40:43 +08:00
ykiko
4b8b84f18e Fix semantic tokens (#82) 2025-02-18 18:15:05 +08:00
ykiko
0bffadbad6 Fix ASTInfo::getFilePath 2025-02-17 21:08:26 +08:00
ykiko
f5130c6ae4 Check LocalSourceRange. 2025-02-17 20:56:29 +08:00
ykiko
32e64bfa1f Add toLocalRange. 2025-02-17 20:53:36 +08:00
ykiko
59aba25474 Implement FilteredASTVisitor (#81) 2025-02-17 20:43:54 +08:00
ykiko
26c66100b9 Refactor Indexer (#78) 2025-02-17 00:22:41 +08:00
ykiko
5a7915d40f Make Task::cancel contagious (#77) 2025-02-14 17:04:50 +08:00
Shiyu
3f94e01095 Show hover information for clang::Decl (#76) 2025-02-14 17:03:52 +08:00
ykiko
a9f7223d09 Refactor async (#71) 2025-02-13 23:20:03 +08:00
Shiyu
e0bb2c453f Make labels of inlayhint clickable. (#73) 2025-02-12 15:25:57 +08:00
ykiko
467c7350ea Add Task::cancel and fix CI (#63) 2025-02-09 23:37:40 +08:00
Shiyu
37f9cba361 Refactor unittest of InlayHint. (#45) 2025-02-05 14:32:20 +08:00
ykiko
2f9622bca7 Clean the project (#57) 2025-02-05 14:10:11 +08:00
ykiko
9b98354918 Refactor async and fix error in index. (#55) 2025-02-03 01:26:37 +08:00
ykiko
30568e800c Implement FeatureIndex (#52) 2025-01-25 00:56:34 +08:00
Shiyu
3b29825a8a Update FoldingRange to support index. (#53) 2025-01-24 15:39:53 +08:00
Shiyu
1a298a3be7 Add pragma region/endregion to FoldingRange. (#49) 2025-01-23 00:10:59 +08:00
ykiko
6cd23038e4 Implement Indexer (#48) 2025-01-22 23:55:33 +08:00
ykiko
bd1c2037cf Update PCH building (#47) 2025-01-18 22:45:06 +08:00
ykiko
8cbfcba790 Implement computePreambleBound and collect has_include in PPCallbacks (#44) 2025-01-18 20:46:18 +08:00
ykiko
2f44874cbf Clear Project (#40) 2025-01-16 22:48:35 +08:00
Shiyu
ddb4e0ddaa Implement InlayHint (#19)
Co-authored-by: ykiko <ykikoykikoykiko@gmail.com>
2025-01-13 23:28:33 +08:00
Shiyu
13a5f6a845 Implement DocumentSymbol (#17) 2025-01-13 23:20:02 +08:00
ykiko
70f29147d5 Add tests for Server (#34) 2025-01-13 23:14:10 +08:00
star9029
b0363b5b76 Fix build with clang + msvc stl (#33) 2025-01-12 13:16:46 +08:00
ykiko
909fcd5403 Refactor async (#30) 2025-01-12 01:31:32 +08:00
Shiyu
c1c1930757 Implement SourceConverter (#26) 2025-01-10 19:26:41 +08:00
ykiko
b7d58d03f4 Initial refactor of index (#24) 2024-12-30 16:52:06 +08:00
ykiko
97d29bb96b Some small changes. (#20) 2024-12-27 11:20:11 +08:00
Shiyu
440303b81f Feat: folding range (#13) 2024-12-17 23:47:54 +08:00
ykiko
c13048b976 Implement checking deps logic for building PCH and PCM. (#15) 2024-12-14 22:32:32 +08:00
ykiko
5326480cd6 Basic support C++20 named module. (#12) 2024-12-14 13:40:13 +08:00
ykiko
7a78f5794a Fix tests. 2024-12-10 18:51:29 +08:00
ykiko
c082458fb1 1. Make resource dir unique and global.
2. Use our custom CDB loader.
2024-12-10 16:15:50 +08:00
ykiko
f9bff085b2 Fix Index tests. 2024-12-08 23:37:58 +08:00
ykiko
d99b571088 Some update. 2024-12-08 14:54:23 +08:00
ykiko
4ccc577f57 Implement computeBounds. 2024-12-07 23:44:35 +08:00
ykiko
dc081384d5 Some clarification for CompliationParams. 2024-12-07 21:54:00 +08:00