-
Notifications
You must be signed in to change notification settings - Fork 338
Have a per interpreter language server in the jupyter extension #7924
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…er_language_server
…er_language_server
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #7924 +/- ##
======================================
- Coverage 70% 70% -1%
======================================
Files 361 364 +3
Lines 22155 22427 +272
Branches 3376 3416 +40
======================================
+ Hits 15663 15833 +170
- Misses 5119 5211 +92
- Partials 1373 1383 +10
🚀 New features to boost your workflow:
|
src/client/datascience/notebook/intellisense/intellisenseProvider.ts
Outdated
Show resolved
Hide resolved
src/client/datascience/notebook/intellisense/intellisenseProvider.ts
Outdated
Show resolved
Hide resolved
src/client/datascience/notebook/intellisense/intellisenseProvider.ts
Outdated
Show resolved
Hide resolved
src/client/datascience/notebook/intellisense/intellisenseProvider.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only issue is with caching of the promise, else we end up with multiple language servers, else all good.
Fixes #6333
Using the new lsp-middleware npm module, create a language server for notebook cells in the jupyter extension.
I'm going to also put up a PR for python to use the new 'Hiding' middleware for notebook cells so that we don't end up with double.