Skip to content

Update language server modules to latest release - #23623

Merged
Rich Chiodo (rchiodo) merged 4 commits into
microsoft:mainfrom
rchiodo:rchiodo/update_lsp
Jun 17, 2024
Merged

Update language server modules to latest release#23623
Rich Chiodo (rchiodo) merged 4 commits into
microsoft:mainfrom
rchiodo:rchiodo/update_lsp

Conversation

@rchiodo

Copy link
Copy Markdown

This is a prerequisite to fixing this pylance issue: microsoft/pylance-release#5402

@rchiodo Rich Chiodo (rchiodo) added the bug Issue identified by VS Code Team member as probable bug label Jun 14, 2024
@rchiodo Rich Chiodo (rchiodo) added the skip tests Updates to tests unnecessary label Jun 14, 2024
import { IDisposableRegistry, IExtensions } from '../common/types';
import { IServiceContainer } from '../ioc/types';
import { sendTelemetryEvent } from '../telemetry';
import { createHidingMiddleware } from './hidingMiddleware';

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Turns out this update wasn't quite so automatic. The _Window middleware changed its signature. This meant the middleware exported from the jupyter-lsp-middleware npm module would also need to be updated. Given we haven't updated that in 2 years (and I didn't want to go through the hoops to get it published again), I just copied that code here. It was the only thing used from that module.

@rchiodo Rich Chiodo (rchiodo) self-assigned this Jun 14, 2024
};

const client = new LanguageClient('python', 'Python Language Server', clientOptions, worker);
const client = new LanguageClient('python', 'Python Language Server', worker, clientOptions);

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The order of the arguments changed on this constructor.

Comment thread package.json Outdated
Co-authored-by: Erik De Bonte <erikd@microsoft.com>
@rchiodo

Copy link
Copy Markdown
Author

Erik De Bonte (@debonte) for some reason accepting your suggestions requires another review sign off

@rchiodo
Rich Chiodo (rchiodo) enabled auto-merge (squash) June 17, 2024 16:38
@rchiodo
Rich Chiodo (rchiodo) merged commit bc2f5e3 into microsoft:main Jun 17, 2024
Don Jayamanne (DonJayamanne) pushed a commit that referenced this pull request Jun 24, 2024
This is a prerequisite to fixing this pylance issue:
microsoft/pylance-release#5402

---------

Co-authored-by: Erik De Bonte <erikd@microsoft.com>
Eleanor Boyd (eleanorjboyd) pushed a commit to eleanorjboyd/vscode-python that referenced this pull request Jun 28, 2024
This is a prerequisite to fixing this pylance issue:
microsoft/pylance-release#5402

---------

Co-authored-by: Erik De Bonte <erikd@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Issue identified by VS Code Team member as probable bug skip tests Updates to tests unnecessary

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants