From d6993fe8b6c851aa728fca9ede2cea6137b55b1a Mon Sep 17 00:00:00 2001 From: Dominik Jain Date: Tue, 21 Jul 2026 12:04:43 +0200 Subject: [PATCH] Fix docstring change being applied to the wrong 'find references' tool --- src/serena/tools/jetbrains_tools.py | 3 ++- src/serena/tools/symbol_tools.py | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/serena/tools/jetbrains_tools.py b/src/serena/tools/jetbrains_tools.py index a46736ba..543811e9 100644 --- a/src/serena/tools/jetbrains_tools.py +++ b/src/serena/tools/jetbrains_tools.py @@ -259,7 +259,6 @@ class JetBrainsFindReferencingSymbolsTool(Tool, ToolMarkerSymbolicRead, ToolMark symbol_dict_grouper = JetBrainsSymbolDictGrouper(["relative_path", "type"], ["type"], collapse_singleton=True) - # TODO: (maybe) - add content snippets showing the references like in LS based version? def apply( self, name_path: str, @@ -273,6 +272,8 @@ class JetBrainsFindReferencingSymbolsTool(Tool, ToolMarkerSymbolicRead, ToolMark :param name_path: name path of the symbol for which to find references :param relative_path: the relative path to the file containing the symbol (must be a file, not a directory) + Note: for external dependencies, this must be an identifier starting with `