Skip to content

Commit 7dd0e33

Browse files
Kartik Rajdependabot[bot]cwebster-99johnhany97seeM
committed
Merged PR posit-dev/positron-python#277: Merge vscode-python 2023.22 from upstream
Merge pull request #277 from posit-dev/merge/2023.22 Merge vscode-python 2023.22 from upstream -------------------- Commit message for posit-dev/positron-python@2e3ea32: handle new upstream `deprecated` response upon parser error -------------------- Commit message for posit-dev/positron-python@d50c326: Update yarn.lock -------------------- Commit message for posit-dev/positron-python@105bf9d: Merge commit 'a0cddbdf0939729cdb82dca2d129433ad475f51e' -------------------- Commit message for microsoft/vscode-python@a0cddbd: bump-release-2023.22 (microsoft/vscode-python#22587) bump to release version 2023.22 and update package.json -------------------- Commit message for microsoft/vscode-python@5302d0e: Revert unsuccessful REPL decoration fix and disable for windows (microsoft/vscode-python#22578) Reverting microsoft/vscode-python#22572 since it is producing color decoration on weird Python REPL spot for Windows pwsh users, and disable decoration entirely for Windows pwsh users temporarily while trying to fix specific problem. Disable feature for stable. Refer: microsoft/vscode-python#22546 microsoft/vscode-python#22535 -------------------- Commit message for microsoft/vscode-python@bffc9b3: Fix shell integration decoration bug for Windows pwsh (microsoft/vscode-python#22572) Attempt to fix colorless and randomized circle decoration for Python REPL usage by Windows Powershell users. Resolves: microsoft/vscode-python#22546 microsoft/vscode-python#22535 -------------------- Commit message for microsoft/vscode-python@e1b54d0: fix no test id provided for pytest run (microsoft/vscode-python#22569) fixes microsoft/vscode-python#22567 Now if a user tries to click the "run" button a empty folder (ie a folder with no tests in it) it will just run pytest with no testIds as args and notify the user. -------------------- Commit message for microsoft/vscode-python@61fcf3a: Properly build deactivate commands for powershell (microsoft/vscode-python#22570) For microsoft/vscode-python#20950 -------------------- Commit message for microsoft/vscode-python@db6e15e: Do not throw if initializing deactivate script fails (microsoft/vscode-python#22566) For microsoft/vscode-python#20950 -------------------- Commit message for microsoft/vscode-python@caa50dc: Fix shell integration decoration for windows pwsh (microsoft/vscode-python#22560) Attempting to fix shell integration decoration glitch for windows pwsh when using Python REPL from VS Code. Resolves: microsoft/vscode-python#22546 microsoft/vscode-python#22535 -------------------- Commit message for microsoft/vscode-python@3efb54f: White space after REPL prompt (microsoft/vscode-python#22549) There should be white space after new REPL prompt that I override for purpose of shell integration. Resolves: microsoft/vscode-python#22548 -------------------- Commit message for microsoft/vscode-python@261ae66: Improvement: Pass along python interpreter to jedi-language-server (microsoft/vscode-python#22466) Fixes microsoft/vscode-python#22495 ## Before this PR Overriding the Python interpreter to a different environment that isn't the current globally-activated base environment would yield no completions when Jedi is used as the underlying language server. Example [stackoverflow question](https://stackoverflow.com/questions/62018436/vscode-intellisense-code-completion-doesnt-work-when-i-am-not-in-base-conda-e) hitting the same issue. ## After this PR We now pass along the interpreter path to jedi-language-server as part of the initial options under `workspace.environmentPath` ([ref](https://github.com/pappasam/jedi-language-server/#workspaceenvironmentpath)) -------------------- Commit message for microsoft/vscode-python@1639753: switch to conditional error message on check for UUID and port during pytest config (microsoft/vscode-python#22534) fixes microsoft/vscode-python#19857 -------------------- Commit message for microsoft/vscode-python@9a5363c: Resolve test suite discovery import errors due to path ordering (microsoft/vscode-python#22454) [Issue microsoft/vscode-python#22453](microsoft/vscode-python#22453) - Once starting to run discovery, add the projects root path to PATH at index 0 so that any further imports will use the projects root directory and not reference the incorrect directory. - Since the test suite only allows the start_dir to be one directory deep, we can conclude that if the start_dir is not "." or contains a "/", that we need to add that start_dir's parent to PATH. Otherwise, we simply add the start_dir to PATH. -------------------- Commit message for microsoft/vscode-python@eb96141: Use shell integration to denote success/failure (microsoft/vscode-python#22487) Resolves: microsoft/vscode-python#22486 Use shell integration to denote success/failure in Python REPL launched from VS Code. This would mean having the blue or red decorators based on whether or not user's command succeeded. -------------------- Commit message for microsoft/vscode-python@f6e1338: Use worker threads for fetching conda environments and interpreter related info (microsoft/vscode-python#22481) -------------------- Commit message for microsoft/vscode-python@3c552f9: Show warning and allow user to turn off smart send for deprecated Python code (microsoft/vscode-python#22353) Resolves: microsoft/vscode-python#22341 microsoft/vscode-python#22340 Showing warning message after detecting user is on Python file with deprecated Python code, and are attempting to run smart send via shift+enter action. Allow user to turn off this via workspace setting. --------- Co-authored-by: Courtney Webster <[email protected]> Co-authored-by: Kartik Raj <[email protected]> -------------------- Commit message for microsoft/vscode-python@ef983f4: Bump `vscode-tas-client` and fix tests (microsoft/vscode-python#22493) Closes microsoft/vscode-python#22461 Sinon requires the actual object definition, so we need to point it to the module file that actually has the function. -------------------- Commit message for microsoft/vscode-python@9298b2c: Bump dessant/lock-threads from 4 to 5 (microsoft/vscode-python#22474) Bumps [dessant/lock-threads](https://github.com/dessant/lock-threads) from 4 to 5. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/dessant/lock-threads/releases">dessant/lock-threads's releases</a>.</em></p> <blockquote> <h2>v5.0.0</h2> <p>Learn more about this release from the <a href="https://github.com/dessant/lock-threads/blob/main/CHANGELOG.md#changelog">changelog</a>.</p> <h2>v4.0.1</h2> <p>Learn more about this release from the <a href="https://github.com/dessant/lock-threads/blob/main/CHANGELOG.md#changelog">changelog</a>.</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/dessant/lock-threads/blob/main/CHANGELOG.md">dessant/lock-threads's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/dessant/lock-threads/compare/v4.0.1...v5.0.0">5.0.0</a> (2023-11-14)</h2> <h3>⚠ BREAKING CHANGES</h3> <ul> <li>Discussions are also processed by default, set the <code>process-only</code> input parameter to preserve the old behavior</li> </ul> <pre lang="yaml"><code> steps: - uses: dessant/lock-threads@v5 with: process-only: 'issues, prs' </code></pre> <ul> <li>the action now requires Node.js 20</li> </ul> <h3>Features</h3> <ul> <li>lock discussions (<a href="https://github.com/dessant/lock-threads/commit/0a0976f3ded51c88c6128dd96dd115c9f14fa764">0a0976f</a>), closes <a href="https://redirect.github.com/dessant/lock-threads/issues/25">#25</a></li> </ul> <h3>Bug Fixes</h3> <ul> <li>update dependencies (<a href="https://github.com/dessant/lock-threads/commit/5a25b54eae3e7a5580d09ef0f7cbc5b18376db67">5a25b54</a>)</li> </ul> <h3><a href="https://github.com/dessant/lock-threads/compare/v4.0.0...v4.0.1">4.0.1</a> (2023-06-12)</h3> <h3>Bug Fixes</h3> <ul> <li>retry and throttle GitHub API requests (<a href="https://github.com/dessant/lock-threads/commit/1618e91da69b9fe614fb9837ac673ea4600eb529">1618e91</a>), closes <a href="https://redirect.github.com/dessant/lock-threads/issues/35">#35</a></li> </ul> <h2><a href="https://github.com/dessant/lock-threads/compare/v3.0.0...v4.0.0">4.0.0</a> (2022-12-04)</h2> <h3>⚠ BREAKING CHANGES</h3> <ul> <li>the action now requires Node.js 16</li> </ul> <h3>Bug Fixes</h3> <ul> <li>update dependencies (<a href="https://github.com/dessant/lock-threads/commit/38e918558115222435d26c0639870cdbe3572929">38e9185</a>)</li> <li>update docs (<a href="https://github.com/dessant/lock-threads/commit/32986e26965060a85db09e98ef7e5958c961ae84">32986e2</a>)</li> </ul> <h2><a href="https://github.com/dessant/lock-threads/compare/v2.1.2...v3.0.0">3.0.0</a> (2021-09-27)</h2> <h3>⚠ BREAKING CHANGES</h3> <ul> <li>input parameter names have changed</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/dessant/lock-threads/commit/d42e5f49803f3c4e14ffee0378e31481265dda22"><code>d42e5f4</code></a> chore(release): 5.0.0</li> <li><a href="https://github.com/dessant/lock-threads/commit/d8da6c1485cbe748b5b632f1a52cf2a52941cbf9"><code>d8da6c1</code></a> chore: update package</li> <li><a href="https://github.com/dessant/lock-threads/commit/c1eab4b45f97073a922fbd226afab0e34a70cf5f"><code>c1eab4b</code></a> chore: update workflow</li> <li><a href="https://github.com/dessant/lock-threads/commit/0a0976f3ded51c88c6128dd96dd115c9f14fa764"><code>0a0976f</code></a> feat: lock discussions</li> <li><a href="https://github.com/dessant/lock-threads/commit/53f3f0c0b9158bece84746885adc5f4bf2dd1ddc"><code>53f3f0c</code></a> chore: migrate package to ESM</li> <li><a href="https://github.com/dessant/lock-threads/commit/5a25b54eae3e7a5580d09ef0f7cbc5b18376db67"><code>5a25b54</code></a> fix: update dependencies</li> <li>See full diff in <a href="https://github.com/dessant/lock-threads/compare/v4...v5">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=dessant/lock-threads&package-manager=github_actions&previous-version=4&new-version=5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> -------------------- Commit message for microsoft/vscode-python@e27185a: Use worker threads for fetching Windows Registry interpreters (microsoft/vscode-python#22479) For microsoft/vscode-python#22146 -------------------- Commit message for microsoft/vscode-python@7a4de92: Use `WorkspaceFolder.name` in addition to workspace folder's basename when resolving `${workspaceFolder:name}` syntax in settings (microsoft/vscode-python#22471) Closes microsoft/vscode-python#22452 -------------------- Commit message for microsoft/vscode-python@fbfa126: Add 3.12 to conda version list (microsoft/vscode-python#22470) -------------------- Commit message for microsoft/vscode-python@47552a3: Install requirements before toml (microsoft/vscode-python#22468) Fixes microsoft/vscode-python#22423 -------------------- Commit message for microsoft/vscode-python@a1fac81: If active editor opened is outside the editor, activate the first workspace (microsoft/vscode-python#22450) For microsoft/vscode-python#22449 -------------------- Commit message for microsoft/vscode-python@b68ddee: Support deactivating virtual environments without user intervention (microsoft/vscode-python#22405) Closes microsoft/vscode-python#22448 Adds deactivate script to `PATH` -------------------- Commit message for microsoft/vscode-python@8d174a8: Fix shell integration API reliability (microsoft/vscode-python#22446) microsoft/vscode-python#22440 It leads to terminals activating forever. -------------------- Commit message for microsoft/vscode-python@1b3c1ea: Adding `Locked` comments to walkthrough commands (microsoft/vscode-python#22432) Adds comments to lock command names for walkthrough localization. Only added Locked comments for walkthrough tiles that are in use and have commands -------------------- Commit message for microsoft/vscode-python@2fc9fea: Revert "Reliably detect whether shell integration is working" (microsoft/vscode-python#22445) Reverts microsoft/vscode-python#22440 It seems reactivating never finishes after this, although this doesn't repro when debugging the extension, have to investigate further. -------------------- Commit message for microsoft/vscode-python@f98caf6: Add consoleTitle to launch.json properties schema (microsoft/vscode-python#22406) consoleTitle is effectively an undocumented feature. pydebug accepts the config key, but vscode will report a problem because it is missing from the schema. see [this debugpy issue](microsoft/debugpy#1178) and [#13040](microsoft/vscode-python#13040) I used the phrase "console or terminal" because I noticed the name was represented on both integratedTerminal and internalConsole. I didn't test externalTerminal. --------- Co-authored-by: Luciana Abud <[email protected]> -------------------- Commit message for microsoft/vscode-python@2a976e3: Reliably detect whether shell integration is working (microsoft/vscode-python#22440) Closes microsoft/vscode-python#22439 Blocked on https://github.com/microsoft/vscode-distro/pull/822 -------------------- Commit message for microsoft/vscode-python@67b4801: Improve shell identifier on case-insensitive system (microsoft/vscode-python#22391) Use case-insensitive regex to remove `.exe` extension. See: microsoft/vscode-python#22036 (comment) -------------------- Commit message for microsoft/vscode-python@7bc45e5: Do not attempt to kill the process if it has already exited (microsoft/vscode-python#22424) Closes microsoft/vscode-python#22420 This bugs seems to have existed every since `rawProcessApi.ts` was created. `proc.killed` can be `false` even after process has exited. -------------------- Commit message for microsoft/vscode-python@f6cfa6e: Remove old code for folder support in interpreter path setting (microsoft/vscode-python#22413) Closes microsoft/vscode-python#12452 Lead-authored-by: Kartik Raj <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Courtney Webster <[email protected]> Co-authored-by: John H. Ayad <[email protected]> Co-authored-by: Wasim Lorgat <[email protected]> Co-authored-by: Shane Saravia <[email protected]> Co-authored-by: Trysten <[email protected]> Co-authored-by: JamzumSum <[email protected]> Co-authored-by: Eleanor Boyd <[email protected]> Co-authored-by: Karthik Nadig <[email protected]> Co-authored-by: Pete Farland <[email protected]> Co-authored-by: Anthony Kim <[email protected]> Signed-off-by: GitHub <[email protected]>
1 parent c42ae53 commit 7dd0e33

File tree

98 files changed

+1779
-957
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+1779
-957
lines changed

extensions/positron-python/.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ jobs:
282282
shell: pwsh
283283
if: matrix.test-suite == 'venv'
284284
run: |
285-
# 1. For `terminalActivation.testvirtualenvs.test.ts`
285+
# 1. For `*.testvirtualenvs.test.ts`
286286
if ('${{ matrix.os }}' -match 'windows-latest') {
287287
$condaPythonPath = Join-Path -Path $Env:CONDA -ChildPath python.exe
288288
$condaExecPath = Join-Path -Path $Env:CONDA -ChildPath Scripts | Join-Path -ChildPath conda

extensions/positron-python/.github/workflows/lock-issues.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: 'Lock Issues'
19-
uses: dessant/lock-threads@v4
19+
uses: dessant/lock-threads@v5
2020
with:
2121
github-token: ${{ github.token }}
2222
issue-inactive-days: '30'

extensions/positron-python/.github/workflows/pr-check.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ jobs:
255255
shell: pwsh
256256
if: matrix.test-suite == 'venv'
257257
run: |
258-
# 1. For `terminalActivation.testvirtualenvs.test.ts`
258+
# 1. For `*.testvirtualenvs.test.ts`
259259
if ('${{ matrix.os }}' -match 'windows-latest') {
260260
$condaPythonPath = Join-Path -Path $Env:CONDA -ChildPath python.exe
261261
$condaExecPath = Join-Path -Path $Env:CONDA -ChildPath Scripts | Join-Path -ChildPath conda
@@ -293,7 +293,7 @@ jobs:
293293
with:
294294
run: npm run testSingleWorkspace
295295
working-directory: ${{ env.special-working-directory }}
296-
if: matrix.test-suite == 'venv' && matrix.os == 'ubuntu-latest'
296+
if: matrix.test-suite == 'venv'
297297

298298
- name: Run single-workspace tests
299299
env:
@@ -451,7 +451,7 @@ jobs:
451451
PYTHON_VIRTUAL_ENVS_LOCATION: './src/tmp/envPaths.json'
452452
shell: pwsh
453453
run: |
454-
# 1. For `terminalActivation.testvirtualenvs.test.ts`
454+
# 1. For `*.testvirtualenvs.test.ts`
455455
if ('${{ matrix.os }}' -match 'windows-latest') {
456456
$condaPythonPath = Join-Path -Path $Env:CONDA -ChildPath python.exe
457457
$condaExecPath = Join-Path -Path $Env:CONDA -ChildPath Scripts | Join-Path -ChildPath conda

extensions/positron-python/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ log.log
55
**/node_modules
66
*.pyc
77
*.vsix
8+
envVars.txt
89
**/.vscode/.ropeproject/**
910
**/testFiles/**/.cache/**
1011
*.noseids

extensions/positron-python/.vscode/settings.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"prettier.printWidth": 120,
5252
"prettier.singleQuote": true,
5353
"editor.codeActionsOnSave": {
54-
"source.fixAll.eslint": true
54+
"source.fixAll.eslint": "explicit"
5555
},
5656
"editor.rulers": [
5757
100

extensions/positron-python/build/webpack/webpack.extension.config.js

+8
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ const config = {
1919
target: 'node',
2020
entry: {
2121
extension: './src/client/extension.ts',
22+
'shellExec.worker': './src/client/common/process/worker/shellExec.worker.ts',
23+
'plainExec.worker': './src/client/common/process/worker/plainExec.worker.ts',
24+
'registryKeys.worker': 'src/client/pythonEnvironments/common/registryKeys.worker.ts',
25+
'registryValues.worker': 'src/client/pythonEnvironments/common/registryValues.worker.ts',
2226
},
2327
devtool: 'source-map',
2428
node: {
@@ -51,6 +55,10 @@ const config = {
5155
},
5256
],
5357
},
58+
{
59+
test: /\.worker\.js$/,
60+
use: { loader: 'worker-loader' },
61+
},
5462
],
5563
},
5664
externals: [

extensions/positron-python/package.json

+18-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
"testObserver",
2424
"quickPickItemTooltip",
2525
"saveEditor",
26-
"terminalDataWriteEvent"
26+
"terminalDataWriteEvent",
27+
"terminalExecuteCommandEvent"
2728
],
2829
"author": {
2930
"name": "Microsoft Corporation"
@@ -527,6 +528,7 @@
527528
"pythonSurveyNotification",
528529
"pythonPromptNewToolsExt",
529530
"pythonTerminalEnvVarActivation",
531+
"pythonDiscoveryUsingWorkers",
530532
"pythonTestAdapter",
531533
"pythonREPLSmartSend",
532534
"pythonRecommendTensorboardExt"
@@ -536,6 +538,7 @@
536538
"%python.experiments.pythonSurveyNotification.description%",
537539
"%python.experiments.pythonPromptNewToolsExt.description%",
538540
"%python.experiments.pythonTerminalEnvVarActivation.description%",
541+
"%python.experiments.pythonDiscoveryUsingWorkers.description%",
539542
"%python.experiments.pythonTestAdapter.description%",
540543
"%python.experiments.pythonREPLSmartSend.description%",
541544
"%python.experiments.pythonRecommendTensorboardExt.description%"
@@ -554,6 +557,7 @@
554557
"pythonSurveyNotification",
555558
"pythonPromptNewToolsExt",
556559
"pythonTerminalEnvVarActivation",
560+
"pythonDiscoveryUsingWorkers",
557561
"pythonTestAdapter",
558562
"pythonREPLSmartSend"
559563
],
@@ -562,6 +566,7 @@
562566
"%python.experiments.pythonSurveyNotification.description%",
563567
"%python.experiments.pythonPromptNewToolsExt.description%",
564568
"%python.experiments.pythonTerminalEnvVarActivation.description%",
569+
"%python.experiments.pythonDiscoveryUsingWorkers.description%",
565570
"%python.experiments.pythonTestAdapter.description%",
566571
"%python.experiments.pythonREPLSmartSend.description%"
567572
]
@@ -690,6 +695,12 @@
690695
"scope": "resource",
691696
"type": "array"
692697
},
698+
"python.REPL.enableREPLSmartSend": {
699+
"default": true,
700+
"description": "%python.EnableREPLSmartSend.description%",
701+
"scope": "resource",
702+
"type": "boolean"
703+
},
693704
"python.testing.autoTestDiscoverOnSaveEnabled": {
694705
"default": true,
695706
"description": "%python.testing.autoTestDiscoverOnSaveEnabled.description%",
@@ -976,6 +987,10 @@
976987
"internalConsole"
977988
]
978989
},
990+
"consoleTitle": {
991+
"default": "Python Debug Console",
992+
"description": "Display name of the debug console or terminal"
993+
},
979994
"cwd": {
980995
"default": "${workspaceFolder}",
981996
"description": "Absolute path to the working directory of the program being debugged. Default is the root directory of the file (leave empty).",
@@ -1603,7 +1618,7 @@
16031618
"vscode-jsonrpc": "^8.2.0",
16041619
"vscode-languageclient": "^9.0.1",
16051620
"vscode-languageserver-protocol": "^3.17.5",
1606-
"vscode-tas-client": "^0.1.63",
1621+
"vscode-tas-client": "^0.1.75",
16071622
"which": "^2.0.2",
16081623
"winreg": "^1.2.4",
16091624
"xml2js": "^0.5.0"
@@ -1675,6 +1690,7 @@
16751690
"typescript": "4.5.5",
16761691
"uuid": "^8.3.2",
16771692
"webpack": "^5.76.0",
1693+
"worker-loader": "^3.0.8",
16781694
"webpack-bundle-analyzer": "^4.5.0",
16791695
"webpack-cli": "^4.9.2",
16801696
"webpack-fix-default-import-plugin": "^1.0.3",

extensions/positron-python/package.nls.json

+61-7
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
"python.experiments.pythonSurveyNotification.description": "Denotes the Python Survey Notification experiment.",
4444
"python.experiments.pythonPromptNewToolsExt.description": "Denotes the Python Prompt New Tools Extension experiment.",
4545
"python.experiments.pythonTerminalEnvVarActivation.description": "Enables use of environment variables to activate terminals instead of sending activation commands.",
46+
"python.experiments.pythonDiscoveryUsingWorkers.description": "Enables use of worker threads to do heavy computation when discovering interpreters.",
4647
"python.experiments.pythonTestAdapter.description": "Denotes the Python Test Adapter experiment.",
4748
"python.experiments.pythonREPLSmartSend.description": "Denotes the Python REPL Smart Send experiment.",
4849
"python.experiments.pythonRecommendTensorboardExt.description": "Denotes the Tensorboard Extension recommendation experiment.",
@@ -63,6 +64,7 @@
6364
"python.missingPackage.severity.description": "Set severity of missing packages in requirements.txt or pyproject.toml",
6465
"python.pipenvPath.description": "Path to the pipenv executable to use for activation.",
6566
"python.poetryPath.description": "Path to the poetry executable.",
67+
"python.EnableREPLSmartSend.description": "Toggle Smart Send for the Python REPL. Smart Send enables sending the smallest runnable block of code to the REPL on Shift+Enter and moves the cursor accordingly.",
6668
"python.tensorBoard.logDirectory.description": "Set this setting to your preferred TensorBoard log directory to skip log directory prompt when starting TensorBoard.",
6769
"python.tensorBoard.logDirectory.markdownDeprecationMessage": "Tensorboard support has been moved to the extension [Tensorboard extension](https://marketplace.visualstudio.com/items?itemName=ms-toolsai.tensorboard). Instead use the setting `tensorBoard.logDirectory`.",
6870
"python.tensorBoard.logDirectory.deprecationMessage": "Tensorboard support has been moved to the extension Tensorboard extension. Instead use the setting `tensorBoard.logDirectory`.",
@@ -86,24 +88,76 @@
8688
"walkthrough.pythonWelcome.description": "Your first steps to set up a Python project with all the powerful tools and features that the Python extension has to offer!",
8789
"walkthrough.step.python.createPythonFile.title": "Create a Python file",
8890
"walkthrough.step.python.createPythonFolder.title": "Open a Python project folder",
89-
"walkthrough.step.python.createPythonFile.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)",
90-
"walkthrough.step.python.createPythonFolder.description": "[Open](command:workbench.action.files.openFolder) or create a project folder.\n[Open Project Folder](command:workbench.action.files.openFolder)",
91+
"walkthrough.step.python.createPythonFile.description": {
92+
"message": "[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)",
93+
"comment": [
94+
"{Locked='](command:toSide:workbench.action.files.newUntitledFile?%7B%22languageId%22%3A%22python%22%7D'}",
95+
"Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
96+
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
97+
]
98+
},
99+
"walkthrough.step.python.createPythonFolder.description": {
100+
"message": "[Open](command:workbench.action.files.openFolder) or create a project folder.\n[Open Project Folder](command:workbench.action.files.openFolder)",
101+
"comment": [
102+
"{Locked='](command:workbench.action.files.openFolder'}",
103+
"Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
104+
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
105+
]
106+
},
91107
"walkthrough.step.python.installPythonWin8.title": "Install Python",
92108
"walkthrough.step.python.installPythonWin8.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",
93109
"walkthrough.step.python.installPythonMac.title": "Install Python",
94-
"walkthrough.step.python.installPythonMac.description": "The Python Extension requires Python to be installed. Install Python 3 through the terminal.\n[Install Python via Brew](command:python.installPythonOnMac)\n",
110+
"walkthrough.step.python.installPythonMac.description": {
111+
"message": "The Python Extension requires Python to be installed. Install Python 3 through the terminal.\n[Install Python via Brew](command:python.installPythonOnMac)\n",
112+
"comment": [
113+
"{Locked='](command:python.installPythonOnMac'}",
114+
"Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
115+
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
116+
]
117+
},
95118
"walkthrough.step.python.installPythonLinux.title": "Install Python",
96-
"walkthrough.step.python.installPythonLinux.description": "The Python Extension requires Python to be installed. Install Python 3 through the terminal.\n[Install Python via terminal](command:python.installPythonOnLinux)\n",
119+
"walkthrough.step.python.installPythonLinux.description": {
120+
"message": "The Python Extension requires Python to be installed. Install Python 3 through the terminal.\n[Install Python via terminal](command:python.installPythonOnLinux)\n",
121+
"comment": [
122+
"{Locked='](command:python.installPythonOnLinux'}",
123+
"Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
124+
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
125+
]
126+
},
97127
"walkthrough.step.python.selectInterpreter.title": "Select a Python Interpreter",
98-
"walkthrough.step.python.selectInterpreter.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).",
128+
"walkthrough.step.python.selectInterpreter.description": {
129+
"message": "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).",
130+
"comment": [
131+
"{Locked='](command:python.setInterpreter'}",
132+
"{Locked='](command:workbench.action.showCommands'}",
133+
"Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
134+
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
135+
]
136+
},
99137
"walkthrough.step.python.createEnvironment.title": "Create a Python Environment ",
100138
"walkthrough.step.python.createEnvironment.title2": "Create or select a Python Environment ",
101-
"walkthrough.step.python.createEnvironment.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.",
139+
"walkthrough.step.python.createEnvironment.description": {
140+
"message": "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.",
141+
"comment": [
142+
"{Locked='](command:python.createEnvironment'}",
143+
"{Locked='](command:workbench.action.showCommands'}",
144+
"Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
145+
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
146+
]
147+
},
102148
"walkthrough.step.python.createEnvironment.description2": "Create an environment for your Python project or use [Select Python Interpreter](command:python.setInterpreter) to select an existing one.\n[Create Environment](command:python.createEnvironment)\n**Tip**: Run the ``Python: Create Environment`` command in the [Command Palette](command:workbench.action.showCommands).",
103149
"walkthrough.step.python.runAndDebug.title": "Run and debug your Python file",
104150
"walkthrough.step.python.runAndDebug.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)",
105151
"walkthrough.step.python.learnMoreWithDS.title": "Explore more resources",
106-
"walkthrough.step.python.learnMoreWithDS.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)",
152+
"walkthrough.step.python.learnMoreWithDS.description": {
153+
"message":"🎨 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)",
154+
"comment":[
155+
"{Locked='](command:workbench.action.showCommands'}",
156+
"{Locked='](command:workbench.action.openWalkthrough?%7B%22category%22%3A%22ms-python.python%23pythonDataScienceWelcome%22%2C%22step%22%3A%22ms-python.python%23python.createNewNotebook%22%7D'}",
157+
"Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
158+
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
159+
]
160+
},
107161
"walkthrough.step.python.learnMoreWithDS.description2": "🎨 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[Follow along with the Python Tutorial](https://aka.ms/AA8dqti)",
108162
"walkthrough.pythonDataScienceWelcome.title": "Get Started with Python for Data Science",
109163
"walkthrough.pythonDataScienceWelcome.description": "Your first steps to getting started with a Data Science project with Python!",

0 commit comments

Comments
 (0)