You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 1, 2021. It is now read-only.
Charles-Gagnon
changed the title
Extension path in Jupyter Book extension shouldn't be hardcoded
Extension path in Jupyter Book extension should use context.extensionPath
Sep 3, 2020
Currently the jupyter book template is using the hardcoded .azuredatastudio/extensions folder as the root to search for the extension folder.
https://github.com/llali/generator-azuredatastudio/blob/main/generators/app/templates/ext-jupyterbook/src/jupyter-book.ts#L13
This is bad for a couple reasons :
Instead you should use https://github.com/microsoft/azuredatastudio/blob/main/src/vs/vscode.d.ts#L5616 (which comes from the context passed to the activate function)
And so you should be able to get rid of most of this logic and just have this be in the activate function :
The text was updated successfully, but these errors were encountered: