mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-14 00:16:57 +00:00
Docstring: highlighted possibility to analyze dependencies with JBFindSymbol
Models tend to not understand this until instructed, instead resorting to their internal much less efficient tools by default.
This commit is contained in:
1 parent
1db52b16bf
commit
a0d2ed99fb
1 file changed
+2
@@ -28,6 +28,8 @@ class JetBrainsFindSymbolTool(Tool, ToolMarkerSymbolicRead, ToolMarkerOptional):
|
||||
Retrieves information on all symbols/code entities (classes, methods, etc.) based on the given name path pattern.
|
||||
The returned symbol information can be used for edits or further queries.
|
||||
Specify `depth > 0` to retrieve children (e.g., methods of a class).
|
||||
Important: through `search_deps=True` dependencies can be searched, which
|
||||
should be preferred to web search or other less sophisticated approaches to analyzing dependencies.
|
||||
|
||||
A name path is a path in the symbol tree *within a source file*.
|
||||
For example, the method `my_method` defined in class `MyClass` would have the name path `MyClass/my_method`.
|
||||
|
||||
Reference in new issue
Block a user