File tree 2 files changed +7
-5
lines changed
2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -187,12 +187,10 @@ export class LanguageServerWatcher
187
187
}
188
188
189
189
public async restartLanguageServers ( ) : Promise < void > {
190
- const workspacesUris = this . workspaceService . workspaceFolders ?. map ( ( workspace ) => workspace . uri ) ?? [ ] ;
191
-
192
- workspacesUris . forEach ( async ( resource ) => {
193
- const lsResource = this . getWorkspaceUri ( resource ) ;
190
+ this . workspaceLanguageServers . forEach ( async ( _ , resourceString ) => {
191
+ const resource = Uri . parse ( resourceString ) ;
194
192
this . stopLanguageServer ( resource ) ;
195
- await this . startLanguageServer ( this . languageServerType , lsResource ) ;
193
+ await this . startLanguageServer ( this . languageServerType , resource ) ;
196
194
} ) ;
197
195
}
198
196
Original file line number Diff line number Diff line change @@ -1413,6 +1413,10 @@ export interface IEventNamePropertyMapping {
1413
1413
* Telemetry event sent when the installed versions of Python, Jupyter, and Pylance are all capable
1414
1414
* of supporting the LSP notebooks experiment. This does not indicate that the experiment is enabled.
1415
1415
*/
1416
+
1417
+ /* __GDPR__
1418
+ "python_experiments_lsp_notebooks" : { "owner": "luabud" }
1419
+ */
1416
1420
[ EventName . PYTHON_EXPERIMENTS_LSP_NOTEBOOKS ] : unknown ;
1417
1421
/**
1418
1422
* Telemetry event sent once on session start with details on which experiments are opted into and opted out from.
You can’t perform that action at this time.
0 commit comments