feat(tools): wire up new LSP and ast-grep tools in builtin exports
This commit is contained in:
@@ -6,8 +6,20 @@ import {
|
|||||||
lsp_workspace_symbols,
|
lsp_workspace_symbols,
|
||||||
lsp_diagnostics,
|
lsp_diagnostics,
|
||||||
lsp_servers,
|
lsp_servers,
|
||||||
|
lsp_prepare_rename,
|
||||||
|
lsp_rename,
|
||||||
|
lsp_code_actions,
|
||||||
|
lsp_code_action_resolve,
|
||||||
} from "./lsp"
|
} from "./lsp"
|
||||||
|
|
||||||
|
import {
|
||||||
|
ast_grep_search,
|
||||||
|
ast_grep_replace,
|
||||||
|
ast_grep_languages,
|
||||||
|
ast_grep_analyze,
|
||||||
|
ast_grep_transform,
|
||||||
|
} from "./ast-grep"
|
||||||
|
|
||||||
export const builtinTools = {
|
export const builtinTools = {
|
||||||
lsp_hover,
|
lsp_hover,
|
||||||
lsp_goto_definition,
|
lsp_goto_definition,
|
||||||
@@ -16,4 +28,13 @@ export const builtinTools = {
|
|||||||
lsp_workspace_symbols,
|
lsp_workspace_symbols,
|
||||||
lsp_diagnostics,
|
lsp_diagnostics,
|
||||||
lsp_servers,
|
lsp_servers,
|
||||||
|
lsp_prepare_rename,
|
||||||
|
lsp_rename,
|
||||||
|
lsp_code_actions,
|
||||||
|
lsp_code_action_resolve,
|
||||||
|
ast_grep_search,
|
||||||
|
ast_grep_replace,
|
||||||
|
ast_grep_languages,
|
||||||
|
ast_grep_analyze,
|
||||||
|
ast_grep_transform,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user