Skip to content

Commit ea935d6

Browse files
committed
docs: update JSONRPC.md to reflect searchKind behavior change
searchKind now preserves workspace_directories so workspace-based environments (venvs, virtualenvs) can be discovered.
1 parent ac7693c commit ea935d6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/JSONRPC.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,14 +97,15 @@ _Response_:
9797
interface RefreshParams {
9898
/**
9999
* Limits the search to a specific kind of Python environment.
100-
* Ignores workspace folders passed in configuration request.
100+
* Workspace folders from the configuration request are still searched
101+
* to discover workspace-based environments (e.g., venvs, virtualenvs).
101102
*/
102103
searchKind?: PythonEnvironmentKind;
103104
} | {
104105
/**
105106
* Limits the search to a specific set of paths.
106107
* searchPaths can either by directories or Python prefixes/executables or combination of both.
107-
* Ignores workspace folders passed in configuration request.
108+
* Replaces workspace folders from the configuration request.
108109
*
109110
* Glob patterns are supported:
110111
* - `*` matches any sequence of characters in a path component

0 commit comments

Comments
 (0)