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

fix main #7

Merged
merged 7 commits into from
Apr 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,15 @@
"request": "attach",
"listen": { "host": "localhost", "port": 5678 },
"justMyCode": true
},
{
"name": "Debug pytest plugin tests",

"type": "python",
"request": "launch",
"module": "pytest",
"args": ["${workspaceFolder}/pythonFiles/tests/pytestadapter"],
"justMyCode": true
}
],
"compounds": [
Expand Down
1,401 changes: 683 additions & 718 deletions package-lock.json

Large diffs are not rendered by default.

83 changes: 39 additions & 44 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,33 +83,33 @@
"walkthroughs": [
{
"id": "pythonWelcome",
"title": "Get Started with Python Development",
"description": "Your first steps to set up a Python project with all the powerful tools and features that the Python extension has to offer!",
"title": "%walkthrough.pythonWelcome.title%",
"description": "%walkthrough.pythonWelcome.description%",
"when": "workspacePlatform != webworker",
"steps": [
{
"id": "python.createPythonFile",
"title": "Create a Python file",
"description": "[Open](command:toSide:workbench.action.files.openFile) or [create](command:toSide:workbench.action.files.newUntitledFile?%7B%22languageId%22%3A%22python%22%7D) a Python file - make sure to save it as \".py\".\n[Create Python File](command:toSide:workbench.action.files.newUntitledFile?%7B%22languageId%22%3A%22python%22%7D)",
"title": "%walkthrough.step.python.createPythonFile.title%",
"description": "%walkthrough.step.python.createPythonFile.description%",
"media": {
"svg": "resources/walkthrough/open-folder.svg",
"altText": "Open a Python file or a folder with a Python project."
"altText": "%walkthrough.step.python.createPythonFile.altText%"
},
"when": ""
},
{
"id": "python.installPythonWin8",
"title": "Install Python",
"description": "The Python Extension requires Python to be installed. Install Python [from python.org](https://www.python.org/downloads).\n\n[Install Python](https://www.python.org/downloads)\n",
"title": "%walkthrough.step.python.installPythonWin8.title%",
"description": "%walkthrough.step.python.installPythonWin8.description%",
"media": {
"markdown": "resources/walkthrough/install-python-windows-8.md"
},
"when": "workspacePlatform == windows && showInstallPythonTile"
},
{
"id": "python.installPythonMac",
"title": "Install Python",
"description": "The Python Extension requires Python to be installed. Install Python 3 through the terminal.\n[Install Python via Brew](command:python.installPythonOnMac)\n",
"title": "%walkthrough.step.python.installPythonMac.title%",
"description": "%walkthrough.step.python.installPythonMac.description%",
"media": {
"markdown": "resources/walkthrough/install-python-macos.md"
},
Expand All @@ -118,8 +118,8 @@
},
{
"id": "python.installPythonLinux",
"title": "Install Python",
"description": "The Python Extension requires Python to be installed. Install Python 3 through the terminal.\n[Install Python via terminal](command:python.installPythonOnLinux)\n",
"title": "%walkthrough.step.python.installPythonLinux.title%",
"description": "%walkthrough.step.python.installPythonLinux.description%",
"media": {
"markdown": "resources/walkthrough/install-python-linux.md"
},
Expand All @@ -128,40 +128,40 @@
},
{
"id": "python.selectInterpreter",
"title": "Select a Python Interpreter",
"description": "Choose which Python interpreter/environment you want to use for your Python project.\n[Select Python Interpreter](command:python.setInterpreter)\n**Tip**: Run the ``Python: Select Interpreter`` command in the [Command Palette](command:workbench.action.showCommands).",
"title": "%walkthrough.step.python.selectInterpreter.title%",
"description": "%walkthrough.step.python.selectInterpreter.description%",
"media": {
"svg": "resources/walkthrough/python-interpreter.svg",
"altText": "Selecting a python interpreter from the status bar"
"altText": "%walkthrough.step.python.selectInterpreter.altText%"
},
"when": "workspaceFolderCount == 0"
},
{
"id": "python.createEnvironment",
"title": "Create a Python Environment ",
"description": "Create an environment for your Python project.\n[Create Environment](command:python.createEnvironment)\n**Tip**: Run the ``Python: Create Environment`` command in the [Command Palette](command:workbench.action.showCommands).\n 🔍 Check out our [docs](https://aka.ms/pythonenvs) to learn more.",
"title": "%walkthrough.step.python.createEnvironment.title%",
"description": "%walkthrough.step.python.createEnvironment.description%",
"media": {
"svg": "resources/walkthrough/create-environment.svg",
"altText": "Creating a Python environment from the Command Palette"
"altText": "%walkthrough.step.python.createEnvironment.altText%"
},
"when": "workspaceFolderCount > 0"
},
{
"id": "python.runAndDebug",
"title": "Run and debug your Python file",
"description": "Open your Python file and click on the play button on the top right of the editor, or press F5 when on the file and select \"Python File\" to run with the debugger. \n \n[Learn more](https://code.visualstudio.com/docs/python/python-tutorial#_run-hello-world)",
"title": "%walkthrough.step.python.runAndDebug.title%",
"description": "%walkthrough.step.python.runAndDebug.description%",
"media": {
"svg": "resources/walkthrough/rundebug2.svg",
"altText": "How to run and debug in VS Code with F5 or the play button on the top right."
"altText": "%walkthrough.step.python.runAndDebug.altText%"
},
"when": ""
},
{
"id": "python.learnMoreWithDS",
"title": "Explore more resources",
"description": "🎨 Explore all the features the Python extension has to offer by looking for \"Python\" in the [Command Palette](command:workbench.action.showCommands). \n 📈 Learn more about getting started with [data science](command:workbench.action.openWalkthrough?%7B%22category%22%3A%22ms-python.python%23pythonDataScienceWelcome%22%2C%22step%22%3A%22ms-python.python%23python.createNewNotebook%22%7D) in Python. \n ✨ Take a look at our [Release Notes](https://aka.ms/AA8dxtb) to learn more about the latest features. \n \n[Learn More](https://aka.ms/AA8dqti)",
"title": "%walkthrough.step.python.learnMoreWithDS.title%",
"description": "%walkthrough.step.python.learnMoreWithDS.description%",
"media": {
"altText": "Image representing our documentation page and mailing list resources.",
"altText": "%walkthrough.step.python.learnMoreWithDS.altText%",
"svg": "resources/walkthrough/learnmore.svg"
},
"when": ""
Expand All @@ -170,26 +170,26 @@
},
{
"id": "pythonDataScienceWelcome",
"title": "Get Started with Python for Data Science",
"description": "Your first steps to getting started with a Data Science project with Python!",
"title": "%walkthrough.pythonDataScienceWelcome.title%",
"description": "%walkthrough.pythonDataScienceWelcome.description%",
"when": "false",
"steps": [
{
"id": "python.installJupyterExt",
"title": "Install Jupyter extension",
"description": "If you haven't already, install the [Jupyter extension](command:workbench.extensions.search?\"ms-toolsai.jupyter\") to take full advantage of notebooks experiences in VS Code!\n \n[Search Jupyter extension](command:workbench.extensions.search?\"ms-toolsai.jupyter\")",
"title": "%walkthrough.step.python.installJupyterExt.title%",
"description": "%walkthrough.step.python.installJupyterExt.description%",
"media": {
"svg": "resources/walkthrough/data-science.svg",
"altText": "Creating a new Jupyter notebook"
"altText": "%walkthrough.step.python.installJupyterExt.altText%"
}
},
{
"id": "python.createNewNotebook",
"title": "Create or open a Jupyter Notebook",
"description": "Right click in the file explorer and create a new file with an .ipynb extension. Or, open the [Command Palette](command:workbench.action.showCommands) and run the command \n``Jupyter: Create New Blank Notebook``.\n[Create new Jupyter Notebook](command:toSide:jupyter.createnewnotebook)\n If you have an existing project, you can also [open a folder](command:workbench.action.files.openFolder) and/or clone a project from GitHub: [clone a Git repository](command:git.clone).",
"title": "%walkthrough.step.python.createNewNotebook.title%",
"description": "%walkthrough.step.python.createNewNotebook.description%",
"media": {
"svg": "resources/walkthrough/create-notebook.svg",
"altText": "Creating a new Jupyter notebook"
"altText": "%walkthrough.step.python.createNewNotebook.altText%"
},
"completionEvents": [
"onCommand:jupyter.createnewnotebook",
Expand All @@ -199,23 +199,23 @@
},
{
"id": "python.openInteractiveWindow",
"title": "Open the Python Interactive Window",
"description": "The Python Interactive Window is a Python shell where you can execute and view the results of your Python code. You can create cells on a Python file by typing ``#%%``.\n \nTo open the interactive window anytime, open the [Command Palette](command:workbench.action.showCommands) and run the command \n``Jupyter: Create Interactive Window``.\n[Open Interactive Window](command:jupyter.createnewinteractive)",
"title": "%walkthrough.step.python.openInteractiveWindow.title%",
"description": "%walkthrough.step.python.openInteractiveWindow.description%",
"media": {
"svg": "resources/walkthrough/interactive-window.svg",
"altText": "Opening python interactive window"
"altText": "%walkthrough.step.python.openInteractiveWindow.altText%"
},
"completionEvents": [
"onCommand:jupyter.createnewinteractive"
]
},
{
"id": "python.dataScienceLearnMore",
"title": "Find out more!",
"description": "📒 Take a look into the [Jupyter extension](command:workbench.extensions.search?\"ms-toolsai.jupyter\") features, by looking for \"Jupyter\" in the [Command Palette](command:workbench.action.showCommands). \n 🏃🏻 Find out more features in our [Tutorials](https://aka.ms/AAdjzpd). \n[Learn more](https://aka.ms/AAdar6q)",
"title": "%walkthrough.step.python.dataScienceLearnMore.title%",
"description": "%walkthrough.step.python.dataScienceLearnMore.description%",
"media": {
"svg": "resources/walkthrough/learnmore.svg",
"altText": "Image representing our documentation page and mailing list resources."
"altText": "%walkthrough.step.python.dataScienceLearnMore.altText%"
}
}
]
Expand Down Expand Up @@ -1841,7 +1841,7 @@
},
"dependencies": {
"@iarna/toml": "^2.2.5",
"@vscode/extension-telemetry": "^0.7.4-preview",
"@vscode/extension-telemetry": "^0.7.7",
"@vscode/jupyter-lsp-middleware": "^0.2.50",
"arch": "^2.1.0",
"diff-match-patch": "^1.0.0",
Expand Down Expand Up @@ -1899,6 +1899,7 @@
"@types/tmp": "^0.0.33",
"@types/uuid": "^8.3.4",
"@types/vscode": "^1.75.0",
"@vscode/vsce": "^2.18.0",
"@types/which": "^2.0.1",
"@types/winreg": "^1.2.30",
"@types/xml2js": "^0.4.2",
Expand Down Expand Up @@ -1947,7 +1948,6 @@
"typemoq": "^2.1.0",
"typescript": "4.5.5",
"uuid": "^8.3.2",
"vsce": "^2.6.6",
"vscode-debugadapter-testsupport": "^1.27.0",
"webpack": "^5.76.0",
"webpack-bundle-analyzer": "^4.5.0",
Expand All @@ -1957,10 +1957,5 @@
"webpack-node-externals": "^3.0.0",
"webpack-require-from": "^1.8.6",
"yargs": "^15.3.1"
},
"__metadata": {
"id": "f1f59ae4-9318-4f3c-a9b5-81b2eaa5f8a5",
"publisherDisplayName": "Microsoft",
"publisherId": "998b010b-e2af-44a5-a6cd-0b5fd3b9b6f8"
}
}
Loading