Commit Graph

42 Commits

Author SHA1 Message Date
ykiko
c697ffcf91 chore(vscode): move dev configs to repo root (#384)
## What changed

This PR moves the shared VS Code development workflow to the repository
root.

It adds repo-level `.vscode/launch.json` and `.vscode/tasks.json` so
contributors can debug `clice` and the VS Code extension from the root
workspace with relative paths.

The checked-in tasks are intentionally limited to extension-side `pnpm`
workflows such as installing dependencies and running the extension
watcher. They do not build the `clice` executable or unit tests.

It also updates `.gitignore` to allow only those two shared VS Code
config files to be committed, while continuing to ignore other local
`.vscode` files.

Finally, it removes the duplicate `editors/vscode/.vscode` folder so
there is a single supported VS Code setup in the repo.

## Why

The previous setup split VS Code configs between local-only root files
and tracked configs under `editors/vscode/.vscode`, which made the
development/debug flow less consistent.

Keeping only extension-side tasks avoids baking a specific native build
workflow into committed editor config while still making extension
development usable out of the box.

## Developer impact

Contributors can now open the repository root in VS Code and use the
checked-in launch/tasks configs directly.

The extension debug configs only disable competing C/C++ language
extensions (`clangd` and `cpptools`) instead of disabling every
extension.

All committed paths remain relative to `${workspaceFolder}`.

## Validation

- Ran `python3 -m json.tool .vscode/launch.json`
- Ran `python3 -m json.tool .vscode/tasks.json`
2026-04-03 23:25:52 +08:00
ykiko
2f44874cbf Clear Project (#40) 2025-01-16 22:48:35 +08:00
ykiko
a8459e9303 Update CMake and CI (#38) 2025-01-15 00:42:22 +08:00
ykiko
70f29147d5 Add tests for Server (#34) 2025-01-13 23:14:10 +08:00
Shiyu
440303b81f Feat: folding range (#13) 2024-12-17 23:47:54 +08:00
ykiko
f6a023d156 Fix some memory issues in the Server. 2024-11-29 20:11:16 +08:00
ykiko
8857bc1a3a Basic implementation of SemanticTokens. 2024-11-26 20:18:40 +08:00
ykiko
9d19ff164a Some update. 2024-11-21 12:31:31 +08:00
ykiko
e1c9c70f54 Some update. 2024-11-19 21:43:49 +08:00
ykiko
511af1bd28 Some update. 2024-11-09 13:53:53 +08:00
ykiko
de8c86bffc Fix wrong definition in ClassTemplateDecl. 2024-11-07 19:17:32 +08:00
ykiko
b93c783874 Some update. 2024-11-07 13:06:08 +08:00
ykiko
883aec5983 Refactor index module. 2024-11-06 15:37:29 +08:00
ykiko
721ccaf4c4 Improve index format. 2024-11-02 20:29:49 +08:00
ykiko
f0198c9e77 Some update. 2024-10-31 16:31:27 +08:00
ykiko
3640b53175 Fix wrong index for File. 2024-10-29 23:12:06 +08:00
ykiko
baeb3f3731 Add tests for code completion in non self contained file. 2024-10-27 17:08:29 +08:00
ykiko
e1afd40663 Some update. 2024-10-27 13:31:26 +08:00
ykiko
7205e6805c Support locate symbol. 2024-10-20 22:29:01 +08:00
ykiko
ca7e09606c Reorganize test files. 2024-10-20 14:08:14 +08:00
ykiko
d56125f023 Revert "Introduce TestEvaluator that allows to directly use constant expression from source code as test input."
This reverts commit 76caa11f62.
2024-10-20 14:03:58 +08:00
ykiko
76caa11f62 Introduce TestEvaluator that allows to directly use constant expression from source code as test input. 2024-10-19 19:53:40 +08:00
ykiko
14c9f9466d Update Index. 2024-10-17 21:51:20 +08:00
ykiko
1b94b995a6 Remove ParsedAST::build and Preamble::build. 2024-10-14 19:56:11 +08:00
ykiko
876c59778e Refactor Compiler class. 2024-10-14 19:26:51 +08:00
ykiko
68fdb35d57 Some update. 2024-10-13 15:46:43 +08:00
ykiko
d030bc2800 some update. 2024-09-21 11:48:55 +08:00
ykiko
cfcb3f488b Support socket to transport. 2024-09-13 18:59:07 +08:00
ykiko
738762504a some update. 2024-09-09 21:35:07 +08:00
ykiko
eb9913234b add some new test for Resolver. 2024-09-06 22:40:47 +08:00
ykiko
605d1f8042 update Resolver. 2024-09-04 23:22:14 +08:00
ykiko
91e9094105 basic setting of ParsedAST. 2024-08-30 21:45:55 +08:00
ykiko
a7c06db687 some update. 2024-08-29 18:19:56 +08:00
ykiko
75cb74ca78 some update. 2024-08-09 13:43:54 +08:00
ykiko
0be4391cf5 some update. 2024-08-05 11:20:13 +08:00
ykiko
c975cbf683 some update. 2024-07-28 10:24:57 +08:00
ykiko
56927c2526 some fix and update. 2024-07-13 11:17:18 +08:00
ykiko
1f98e6559d some update. 2024-07-11 21:36:03 +08:00
ykiko
b46ff17820 add docs. 2024-07-11 12:04:09 +08:00
ykiko
aae15e7b56 some update. 2024-07-10 12:46:04 +08:00
ykiko
1e64c6eb78 some update. 2024-07-06 23:30:58 +08:00
ykiko
c46ea4ac19 init project. 2024-06-30 14:08:54 +08:00