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
Make the Jupyter extension an optional dependency (#16422)
* Make Jupyter an optional dependency (#16267)
* News entry
* Move Jupyter to the optional dependencies step
* Update news/1 Enhancements/16102.md
Co-authored-by: Kartik Raj <[email protected]>
Co-authored-by: Kartik Raj <[email protected]>
* License wording update (#16278)
* Wording
* License wording
* Add a "Jupyter not installed" notification helper (#16321)
* Add telemetry info
* Use enum for the telemetry
* Add prompt as a standalone function
* Remove "Install" from the prompt
* Make it a class
* Register singleton
* Rename file to a long but descriptive name
* Unit tests
* Add to package.nls.json
* Use sinon for tests
* Use the same "Jupyter is not installed" message everywhere (#16372)
* rename to showJupyterNotInstalledPrompt
* Replace existing prompt with new prompt
* Remove Jupyter check from command manager
* Update the start page to use the prompt (#16417)
* Update copy
* Update origin key
* Show prompt if jupyter not installed & should show
* Add tests for this functionality only
* Update news entry
* Remove comments
* follow-up from the merge
* Add singletons for startpage functional tests
* Missing one symbol
* Update src/client/common/startPage/startPage.ts
Co-authored-by: Don Jayamanne <[email protected]>
* Add logging
Co-authored-by: Don Jayamanne <[email protected]>
Co-authored-by: Kartik Raj <[email protected]>
Co-authored-by: Don Jayamanne <[email protected]>
PLEASE NOTE: This Python extension for Visual Studio Code has a hard dependency on the Jupyter extension for Visual Studio Code which is installed automatically alongside it. The Python extension for Visual Studio Code also holds an optional dependency on the Pylance extension for Visual Studio Code, which is also installed automatically but is separately licensed.
1
+
PLEASE NOTE: This is the license for the Python extension for Visual Studio Code. The Python extension automatically installs other extensions as optional dependencies, which can be uninstalled at any time. These extensions have separate licenses:
2
2
3
-
All the source code for the Python extension for Visual Studio Code is available under the MIT License (given below) as is the source code for the Jupyter extension for Visual Studio Code. But the optional Pylance extension for Visual Studio Code is only available in binary form and it is not licensed under the MIT License. The Pylance extension for Visual Studio Code is licensed under a Microsoft proprietary license, the terms of which are available here: https://marketplace.visualstudio.com/items/ms-python.vscode-pylance/license.
3
+
- The Jupyter extension is released under an MIT License:
Move the Jupyter extension from being a hard dependency to an optional one, and display an informational prompt if Jupyter commands try to be executed from the Start Page.
Copy file name to clipboardExpand all lines: package.nls.json
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -221,7 +221,7 @@
221
221
"StartPage.createAPythonFile": "Create a Python File",
222
222
"StartPage.pythonFileDescription": "- Create a <div class=\"link\" role=\"button\" onclick={0}>new file</div> with a .py extension",
223
223
"StartPage.openInteractiveWindow": "Use the Interactive Window to develop Python Scripts",
224
-
"StartPage.interactiveWindowDesc": "- You can create cells on a Python file by typing \"#%%\" <br /> - Use \"<div class=\"italics\">Shift + Enter</div> \" to run a cell, the output will be shown in the interactive window",
224
+
"StartPage.interactiveWindowDesc": "- You can create cells on a Python file by typing \"#%%\". Make sure you have the Jupyter extension installed. <br /> - Use \"<div class=\"italics\">Shift + Enter</div> \" to run a cell, the output will be shown in the interactive window",
225
225
"StartPage.releaseNotes": "Take a look at our <a class=\"link\" href={0}>Release Notes</a> to learn more about the latest features.",
226
226
"StartPage.mailingList": "<a class=\"link\" href={0}>Sign up</a> for tips and tutorials through our mailing list.",
227
227
"StartPage.tutorialAndDoc": "Explore more features in our <a class=\"link\" href={0}>Tutorials</a> or check <a class=\"link\" href={1}>Documentation</a> for tips and troubleshooting.",
@@ -232,6 +232,7 @@
232
232
"StartPage.folderDesc": "- Open a <div class=\"link\" role=\"button\" onclick={0}>Folder</div><br /> - Open a <div class=\"link\" role=\"button\" onclick={1}>Workspace</div>",
233
233
"StartPage.badWebPanelFormatString": "<html><body><h1>{0} is not a valid file name</h1></body></html>",
234
234
"Jupyter.extensionRequired": "The Jupyter extension is required to perform that task. Click Yes to open the Jupyter extension installation page.",
235
+
"Jupyter.extensionNotInstalled": "This feature is available in the Jupyter extension, which isn't currently installed.",
235
236
"TensorBoard.missingSourceFile": "We could not locate the requested source file on disk. Please manually specify the file.",
0 commit comments