Skip to content

Commit

Permalink
Merge pull request #1087 from d35ha/vscode-extensions
Browse files Browse the repository at this point in the history
Add python and jupyter vscode extension packages
  • Loading branch information
emtuls authored Jun 12, 2024
2 parents bf9450d + 0ced798 commit 19a360b
Show file tree
Hide file tree
Showing 7 changed files with 55 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
$ErrorActionPreference = 'Stop'
Import-Module vm.common -Force -DisableNameChecking

$extensionId = 'ms-toolsai.jupyter'
$extensionVersion = '2024.6.2024060601'
$executablePath = Join-Path ${Env:ProgramFiles} "\Microsoft VS Code\bin\code.cmd" -Resolve

& $executablePath --install-extension $extensionId '@' $extensionVersion
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
$ErrorActionPreference = 'Continue'
Import-Module vm.common -Force -DisableNameChecking

$extensionId = 'ms-toolsai.jupyter'

code --uninstall-extension $extensionId
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>vscode.extension.jupyter.vm</id>
<version>2024.6.2024060601</version>
<authors>Microsoft</authors>
<description>Jupyter notebook support, interactive programming and computing that supports Intellisense, debugging and more.</description>
<dependencies>
<dependency id="common.vm" />
<dependency id="vscode.vm" />
</dependencies>
</metadata>
</package>
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
$ErrorActionPreference = 'Stop'
Import-Module vm.common -Force -DisableNameChecking

$extensionId = 'ms-python.python'
$extensionVersion = '2024.9.11621011'
$executablePath = Join-Path ${Env:ProgramFiles} "\Microsoft VS Code\bin\code.cmd" -Resolve

& $executablePath --install-extension $extensionId '@' $extensionVersion
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
$ErrorActionPreference = 'Continue'
Import-Module vm.common -Force -DisableNameChecking

$extensionId = 'ms-python.python'

code --uninstall-extension $extensionId
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>vscode.extension.python.vm</id>
<version>2024.9.11621011</version>
<authors>Microsoft</authors>
<description>Python language support with extension access points for IntelliSense (Pylance), Debugging (Python Debugger), linting, formatting, refactoring, unit tests, and more.</description>
<dependencies>
<dependency id="common.vm" />
<dependency id="vscode.vm" />
</dependencies>
</metadata>
</package>
1 change: 1 addition & 0 deletions scripts/test/lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@ class UsesInvalidCategory(Lint):
"pdbs.pdbresym.vm",
"python3.vm",
"x64dbgpy.vm",
"vscode.extension.",
]

root_path = os.path.abspath(os.path.join(__file__, "../../.."))
Expand Down

0 comments on commit 19a360b

Please sign in to comment.