JetBrainsFindSymbolTool: Force search_deps=True if relative path to ext. file

Improve changelog entry
This commit is contained in:
Dominik Jain committed 2026-04-13 16:52:10 +02:00
1 parent ed061d8024
commit e2eb1f14b4
2 files changed
+9 -2

No files matched your search

+4 -1
View File
@@ -7,7 +7,10 @@ Status of the `main` branch. Changes prior to the next official version change w
- Extended the list of always ignored directories (by language servers) with common cases.
JetBrains:
- Minor fixes in handling `relative_path` for external dependencies.
- Improve handling of `relative_path` parameter
- Improve its documentation to avoid usage errors
- Replace escaped characters in `relative_path` with their unescaped counterparts (< and >)
- `FindSymbolTool`: Force `search_deps=True` if `relative_path` pertains to external dependencies.
* Language Servers:
- Add mSL (mIRC Scripting Language) support (custom pygls-based language server; symbols, references, definitions)
+5 -1
View File
@@ -74,11 +74,15 @@ class JetBrainsFindSymbolTool(Tool, ToolMarkerSymbolicRead, ToolMarkerOptional):
depth = 0 # ignore user-specified depth if body is requested
name_path_pattern = self._sanitize_input_param(name_path_pattern)
if relative_path:
relative_path = self._sanitize_input_param(relative_path)
if relative_path == ".":
relative_path = None
if relative_path is not None and relative_path.startswith(jb.JB_EXTERNAL_FILE_PREFIX):
search_deps = True
with JetBrainsPluginClient.from_project(self.project) as client:
if include_body:
include_quick_info = False