Skip to content

Commit 70045a7

Browse files
authored
Delete all snippets (#15006)
1 parent e6ef803 commit 70045a7

File tree

5 files changed

+7
-187
lines changed

5 files changed

+7
-187
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Python extension for Visual Studio Code
22

3-
A [Visual Studio Code](https://code.visualstudio.com/) [extension](https://marketplace.visualstudio.com/VSCode) with rich support for the [Python language](https://www.python.org/) (for all [actively supported versions](https://devguide.python.org/#status-of-python-branches) of the language: >=3.6), including features such as IntelliSense, linting, debugging, code navigation, code formatting, Jupyter notebook support, refactoring, variable explorer, test explorer, snippets, and more!
3+
A [Visual Studio Code](https://code.visualstudio.com/) [extension](https://marketplace.visualstudio.com/VSCode) with rich support for the [Python language](https://www.python.org/) (for all [actively supported versions](https://devguide.python.org/#status-of-python-branches) of the language: >=3.6), including features such as IntelliSense, linting, debugging, code navigation, code formatting, Jupyter notebook support, refactoring, variable explorer, test explorer, and more!
44

55
## Quick start
66

@@ -32,7 +32,6 @@ The Python extension and the [Jupyter extension](https://marketplace.visualstudi
3232

3333
<img src=https://raw.githubusercontent.com/microsoft/vscode-python/main/images/OpenOrCreateNotebook.gif width=1029 height=602>
3434

35-
3635
For more information you can:
3736

3837
- [Follow our Python tutorial](https://code.visualstudio.com/docs/python/python-tutorial#_prerequisites) with step-by-step instructions for building a simple app.

gulpfile.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ const tslintFilter = [
5858
'!.vscode/**/*',
5959
'!pythonFiles/**/*',
6060
'!resources/**/*',
61-
'!snippets/**/*',
6261
'!syntaxes/**/*',
6362
'!**/typings/**/*',
6463
'!**/*.d.ts',
@@ -143,7 +142,7 @@ async function addExtensionDependencies() {
143142
// extension dependencies need not be installed during development
144143
const packageJsonContents = await fsExtra.readFile('package.json', 'utf-8');
145144
const packageJson = JSON.parse(packageJsonContents);
146-
packageJson.extensionDependencies = ["ms-toolsai.jupyter"].concat(packageJson.extensionDependencies ? packageJson.extensionDependencies : []);
145+
packageJson.extensionDependencies = ['ms-toolsai.jupyter'].concat(packageJson.extensionDependencies ? packageJson.extensionDependencies : []);
147146
await fsExtra.writeFile('package.json', JSON.stringify(packageJson, null, 4), 'utf-8');
148147
}
149148

news/1 Enhancements/14781.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Remove code snippets (you can copy the
2+
[old snippets](https://github.com/microsoft/vscode-python/blob/2020.12.424452561/snippets/python.json)
3+
and use them as
4+
[your own snippets](https://code.visualstudio.com/docs/editor/userdefinedsnippets#_create-your-own-snippets))

package.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "python",
33
"displayName": "Python",
4-
"description": "Linting, Debugging (multi-threaded, remote), Intellisense, Jupyter Notebooks, code formatting, refactoring, unit tests, snippets, and more.",
4+
"description": "Linting, Debugging (multi-threaded, remote), Intellisense, Jupyter Notebooks, code formatting, refactoring, unit tests, and more.",
55
"version": "2021.1.0-dev",
66
"featureFlags": {
77
"usingNewInterpreterStorage": true
@@ -40,7 +40,6 @@
4040
"Programming Languages",
4141
"Debuggers",
4242
"Linters",
43-
"Snippets",
4443
"Formatters",
4544
"Other",
4645
"Extension Packs",
@@ -89,12 +88,6 @@
8988
],
9089
"main": "./out/client/extension",
9190
"contributes": {
92-
"snippets": [
93-
{
94-
"language": "python",
95-
"path": "./snippets/python.json"
96-
}
97-
],
9891
"keybindings": [
9992
{
10093
"command": "python.execSelectionInTerminal",

snippets/python.json

Lines changed: 0 additions & 175 deletions
This file was deleted.

0 commit comments

Comments
 (0)