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

Get context help working and fixup path problems with kernel tree #18

Merged
merged 4 commits into from
Apr 22, 2022

Conversation

rchiodo
Copy link
Contributor

@rchiodo rchiodo commented Apr 22, 2022

Adding in the contextual help stuff.
Also fixed up some PythonEnvironment URI changes (jupyter changed to use URIs for stuff) (Kernel tab was broken)

Changed to webpack because of stuff like this: evanw/esbuild#1619
ESBuild is a lot pickier about what it will consume. Instead of trying to resolve those problems (I had about 10 of them), just switched to webpack.

@@ -204,7 +204,7 @@ export function getDisplayNameOrNameOfKernelConnection(kernelConnection: KernelC
const envName =
kernelConnection.interpreter.envName ||
(kernelConnection.interpreter.envPath
? path.basename(kernelConnection.interpreter.envPath)
? path.basename(kernelConnection.interpreter.envPath.fsPath)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is now a URI

Copy link
Member

@IanMatthewHuff IanMatthewHuff left a comment

Choose a reason for hiding this comment

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

Awesome. Shame about esbuild, but whatever. Looks like something is up with the webviews build? But assuming that is fixed up I'm down.

@rchiodo
Copy link
Contributor Author

rchiodo commented Apr 22, 2022

Not sure how webviews works locally, but I think I fixed it.

@rchiodo rchiodo merged commit 9fbe28d into main Apr 22, 2022
@rchiodo rchiodo deleted the rchiodo/add_contextual_help branch April 22, 2022 23:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants