Skip to content

Commit 9b90cd5

Browse files
authored
Merge pull request #71 from microsoft/vscode-config
Update VS Code Configs
2 parents 4ebcf4b + 0a7aa88 commit 9b90cd5

6 files changed

+3
-922
lines changed

.editorconfig

-361
Large diffs are not rendered by default.

.pre-commit-config.yaml

-58
This file was deleted.

.vscode/extensions.json

+1-8
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,6 @@
22
// See https://go.microsoft.com/fwlink/?LinkId=827846
33
// for the documentation about the extensions.json format
44
"recommendations": [
5-
"ms-azuretools.vscode-azurefunctions",
6-
"ms-dotnettools.csharp",
7-
"ms-dotnettools.dotnet-interactive-vscode",
8-
"esbenp.prettier-vscode",
9-
"dbaeumer.vscode-eslint",
10-
"ms-semantic-kernel.semantic-kernel",
11-
"emeraldwalk.RunOnSave",
125
"ms-java.vscode-java-pack",
136
]
14-
}
7+
}

.vscode/launch.json

-45
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,5 @@
11
{
22
"version": "0.2.0",
33
"configurations": [
4-
{
5-
// Use IntelliSense to find out which attributes exist for C# debugging
6-
// Use hover for the description of the existing attributes
7-
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
8-
"name": "C#: Concept Samples",
9-
"type": "coreclr",
10-
"request": "launch",
11-
"preLaunchTask": "build (Concepts)",
12-
// If you have changed target frameworks, make sure to update the program path.
13-
"program": "${workspaceFolder}/dotnet/samples/Concepts/bin/Debug/net6.0/Concepts.dll",
14-
"args": [
15-
/*"example0"*/
16-
],
17-
"cwd": "${workspaceFolder}/dotnet/samples/Concepts",
18-
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
19-
"console": "internalConsole",
20-
"stopAtEntry": false
21-
},
22-
{
23-
"name": ".NET Core Attach",
24-
"type": "coreclr",
25-
"request": "attach"
26-
},
27-
{
28-
"cwd": "${workspaceFolder}/python",
29-
"name": "Python: Test Module",
30-
"type": "python",
31-
"request": "launch",
32-
"module": "pytest",
33-
"args": ["${file}"]
34-
},
35-
{
36-
"name": "C#: HuggingFaceImageToText Demo",
37-
"type": "dotnet",
38-
"request": "launch",
39-
"projectPath": "${workspaceFolder}\\dotnet\\samples\\Demos\\HuggingFaceImageToText.csproj",
40-
"launchConfigurationId": "TargetFramework=;HuggingFaceImageToText"
41-
},
42-
{
43-
"name": "C#: GettingStarted Samples",
44-
"type": "dotnet",
45-
"request": "launch",
46-
"projectPath": "${workspaceFolder}\\dotnet\\samples\\GettingStarted\\GettingStarted.csproj",
47-
"launchConfigurationId": "TargetFramework=;GettingStarted"
48-
}
494
]
505
}

.vscode/settings.json

+2-78
Original file line numberDiff line numberDiff line change
@@ -1,67 +1,10 @@
11
{
2-
"prettier.enable": true,
3-
"css.lint.validProperties": [
4-
"composes"
5-
],
62
"editor.formatOnType": true,
73
"editor.formatOnSave": true,
84
"editor.formatOnPaste": true,
9-
"[csharp]": {
10-
"editor.defaultFormatter": "ms-dotnettools.csharp",
11-
"editor.codeActionsOnSave": {
12-
"source.fixAll": "explicit"
13-
}
14-
},
155
"editor.bracketPairColorization.enabled": true,
166
"editor.guides.bracketPairs": "active",
17-
"python.formatting.provider": "autopep8",
18-
"python.formatting.autopep8Args": [
19-
"--max-line-length=120"
20-
],
217
"notebook.output.textLineLimit": 500,
22-
"python.analysis.extraPaths": [
23-
"./python/src"
24-
],
25-
"javascript.updateImportsOnFileMove.enabled": "always",
26-
"search.exclude": {
27-
"**/node_modules": true,
28-
"**/bower_components": true,
29-
"**/build": true
30-
},
31-
"[typescript]": {
32-
"editor.defaultFormatter": "esbenp.prettier-vscode",
33-
"editor.codeActionsOnSave": {
34-
"source.organizeImports": "explicit",
35-
"source.fixAll": "explicit"
36-
}
37-
},
38-
"[typescriptreact]": {
39-
"editor.defaultFormatter": "esbenp.prettier-vscode",
40-
"editor.codeActionsOnSave": {
41-
"source.organizeImports": "explicit",
42-
"source.fixAll": "explicit"
43-
}
44-
},
45-
"typescript.updateImportsOnFileMove.enabled": "always",
46-
"eslint.enable": true,
47-
"eslint.validate": [
48-
"javascript",
49-
"javascriptreact",
50-
"typescript",
51-
"typescriptreact"
52-
],
53-
"eslint.lintTask.enable": true,
54-
"eslint.workingDirectories": [
55-
{
56-
"mode": "auto"
57-
}
58-
],
59-
"eslint.options": {
60-
"overrideConfigFile": "./package.json"
61-
},
62-
"files.associations": {
63-
"*.json": "jsonc"
64-
},
658
"files.exclude": {
669
"**/.git": true,
6710
"**/.svn": true,
@@ -70,32 +13,13 @@
7013
"**/.DS_Store": true,
7114
"**/Thumbs.db": true
7215
},
73-
"cSpell.words": [
74-
"Partitioner",
75-
"Prompty",
76-
"SKEXP"
77-
],
7816
"[java]": {
7917
"editor.formatOnSave": false,
8018
"editor.tabSize": 4,
8119
"editor.codeActionsOnSave": {
8220
"source.fixAll": "never"
8321
},
8422
},
85-
"emeraldwalk.runonsave": {
86-
"commands": [
87-
{
88-
"match": "\\.java$",
89-
"cmd": "java -Xmx128m -jar ${workspaceFolder}/java/utilities/google-java-format-1.17.0-all-deps.jar --replace --aosp ${file}"
90-
},
91-
],
92-
},
9323
"java.debug.settings.onBuildFailureProceed": true,
94-
"java.compile.nullAnalysis.mode": "disabled",
95-
"dotnet.defaultSolution": "dotnet\\SK-dotnet.sln",
96-
"python.testing.pytestArgs": [
97-
"python/tests"
98-
],
99-
"python.testing.unittestEnabled": false,
100-
"python.testing.pytestEnabled": true
101-
}
24+
"java.compile.nullAnalysis.mode": "disabled"
25+
}

0 commit comments

Comments
 (0)