Skip to content
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

Mapping between notebook and python #20089

Closed
karthiknadig opened this issue Oct 27, 2022 · 1 comment
Closed

Mapping between notebook and python #20089

karthiknadig opened this issue Oct 27, 2022 · 1 comment
Assignees
Labels
area-intellisense LSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc. feature-request Request for new features or functionality needs spike Label for issues that need investigation before they can be worked on.

Comments

@karthiknadig
Copy link
Member

Currently Jupyter extension has a map of resource to associated Kernel. In this item we investigate how such mapping works and see if Jupyter can contribute this information to Python extension via some API, and what that API will look like. This will also define how that info will be exposed to LS.

@karthiknadig karthiknadig added the feature-request Request for new features or functionality label Oct 27, 2022
@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Oct 27, 2022
@karthiknadig karthiknadig added area-intellisense LSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc. needs spike Label for issues that need investigation before they can be worked on. and removed triage-needed Needs assignment to the proper sub-team labels Oct 27, 2022
@karthiknadig karthiknadig self-assigned this Oct 27, 2022
@karthiknadig
Copy link
Member Author

karthiknadig commented Feb 13, 2023

There are two types of mappings needed:

  1. Notebook URI -> Python Path
  2. Text Document URI -> Notebook URI

From my reading 1 is needed to get the right packages when performing analysis. Not sure why 2 was moved into Jupyter extension, this seems to be using information available to all extension, and could be calculated independently. In either case there needs to be a way to communicate this info to LS provider.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-intellisense LSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc. feature-request Request for new features or functionality needs spike Label for issues that need investigation before they can be worked on.
Projects
None yet
Development

No branches or pull requests

1 participant