Skip to content
This repository was archived by the owner on Sep 23, 2025. It is now read-only.

Commit 5147918

Browse files
committed
tweak tool description
1 parent 8045ceb commit 5147918

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

server/src/server.rs

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -261,13 +261,9 @@ impl DialecticServer {
261261
This tool provides access to VSCode's Language Server Protocol (LSP) capabilities \
262262
through a composable function system.\n\n\
263263
Common operations:\n\
264-
- {\"findDefinition\": {\"symbol\": \"MyFunction\"}} - Find where a symbol is defined\n\
265-
- {\"findReferences\": {\"symbol\": \"MyFunction\"}} - Find all uses of a symbol\n\
266-
- {\"findDefinition\": {\"symbol\": {\"name\": \"User\", \"file\": \"models.rs\", \"line\": 42}}} - Find definition with location hint\n\n\
267-
The system handles ambiguity automatically - if multiple symbols match a name, \
268-
you'll get refinement suggestions with specific locations to choose from.\n\n\
269-
Functions can be composed: {\"findReferences\": {\"findDefinition\": {\"symbol\": \"login\"}}} \
270-
will first find the definition of \"login\", then find all references to that specific definition."
264+
- {\"findDefinitions\": \"MyFunction\"} - list of locations where a symbol named `MyFunction` is defined\n\
265+
- {\"findReferences\": \"MyFunction\"} - list of locations where a symbol named `MyFunction` is referenced\n\
266+
"
271267
)]
272268
async fn ide_operation(
273269
&self,

0 commit comments

Comments
 (0)