-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: lsp find references Signed-off-by: xiarui.xr <[email protected]> * find refs: add unit test; fix kcl_pos bug Signed-off-by: xiarui.xr <[email protected]> * find references: add more tests Signed-off-by: xiarui.xr <[email protected]> * remove unused comment Signed-off-by: xiarui.xr <[email protected]> * chore: cargo fmt Signed-off-by: xiarui.xr <[email protected]> * find refs: revert bench test temporarily Signed-off-by: xiarui.xr <[email protected]> * minor fix Signed-off-by: xiarui.xr <[email protected]> * minor fix: use if-else instead of match statement Signed-off-by: xiarui.xr <[email protected]> * lsp: cache word index in lsp state Signed-off-by: xiarui.xr <[email protected]> * chore: format code Signed-off-by: xiarui.xr <[email protected]> * find refs: incrementally update word_index after file changes Signed-off-by: xiarui.xr <[email protected]> --------- Signed-off-by: xiarui.xr <[email protected]>
- Loading branch information
1 parent
e13ef0e
commit 93eb9d7
Showing
27 changed files
with
1,106 additions
and
650 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
kclvm/tools/src/LSP/src/find_ref/test_data/test_word_workspace/inherit.k
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
kclvm/tools/src/LSP/src/find_ref/test_data/test_word_workspace/inherit_pkg.k
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
kclvm/tools/src/LSP/src/find_ref/test_data/test_word_workspace_map/inherit.k
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
kclvm/tools/src/LSP/src/find_ref/test_data/test_word_workspace_map/inherit_pkg.k
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.