mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-13 10:16:00 +00:00
JetBrainsFindSymbolTool: Force search_deps=True if relative path to ext. file
Improve changelog entry
This commit is contained in:
1 parent
ed061d8024
commit
e2eb1f14b4
2 files changed
+9
-2
No files matched your search
+4
-1
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user