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

Update VS Code Configs #71

Merged
merged 6 commits into from
Jun 14, 2024
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
361 changes: 0 additions & 361 deletions .editorconfig

Large diffs are not rendered by default.

58 changes: 0 additions & 58 deletions .pre-commit-config.yaml

This file was deleted.

9 changes: 1 addition & 8 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,6 @@
// See https://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"ms-azuretools.vscode-azurefunctions",
"ms-dotnettools.csharp",
"ms-dotnettools.dotnet-interactive-vscode",
"esbenp.prettier-vscode",
"dbaeumer.vscode-eslint",
"ms-semantic-kernel.semantic-kernel",
"emeraldwalk.RunOnSave",
"ms-java.vscode-java-pack",
]
}
}
45 changes: 0 additions & 45 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,50 +1,5 @@
{
"version": "0.2.0",
"configurations": [
{
// Use IntelliSense to find out which attributes exist for C# debugging
// Use hover for the description of the existing attributes
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
"name": "C#: Concept Samples",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build (Concepts)",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/dotnet/samples/Concepts/bin/Debug/net6.0/Concepts.dll",
"args": [
/*"example0"*/
],
"cwd": "${workspaceFolder}/dotnet/samples/Concepts",
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
"console": "internalConsole",
"stopAtEntry": false
},
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach"
},
{
"cwd": "${workspaceFolder}/python",
"name": "Python: Test Module",
"type": "python",
"request": "launch",
"module": "pytest",
"args": ["${file}"]
},
{
"name": "C#: HuggingFaceImageToText Demo",
"type": "dotnet",
"request": "launch",
"projectPath": "${workspaceFolder}\\dotnet\\samples\\Demos\\HuggingFaceImageToText.csproj",
"launchConfigurationId": "TargetFramework=;HuggingFaceImageToText"
},
{
"name": "C#: GettingStarted Samples",
"type": "dotnet",
"request": "launch",
"projectPath": "${workspaceFolder}\\dotnet\\samples\\GettingStarted\\GettingStarted.csproj",
"launchConfigurationId": "TargetFramework=;GettingStarted"
}
]
}
80 changes: 2 additions & 78 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,67 +1,10 @@
{
"prettier.enable": true,
"css.lint.validProperties": [
"composes"
],
"editor.formatOnType": true,
"editor.formatOnSave": true,
"editor.formatOnPaste": true,
"[csharp]": {
"editor.defaultFormatter": "ms-dotnettools.csharp",
"editor.codeActionsOnSave": {
"source.fixAll": "explicit"
}
},
"editor.bracketPairColorization.enabled": true,
"editor.guides.bracketPairs": "active",
"python.formatting.provider": "autopep8",
"python.formatting.autopep8Args": [
"--max-line-length=120"
],
"notebook.output.textLineLimit": 500,
"python.analysis.extraPaths": [
"./python/src"
],
"javascript.updateImportsOnFileMove.enabled": "always",
"search.exclude": {
"**/node_modules": true,
"**/bower_components": true,
"**/build": true
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit",
"source.fixAll": "explicit"
}
},
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit",
"source.fixAll": "explicit"
}
},
"typescript.updateImportsOnFileMove.enabled": "always",
"eslint.enable": true,
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact"
],
"eslint.lintTask.enable": true,
"eslint.workingDirectories": [
{
"mode": "auto"
}
],
"eslint.options": {
"overrideConfigFile": "./package.json"
},
"files.associations": {
"*.json": "jsonc"
},
"files.exclude": {
"**/.git": true,
"**/.svn": true,
Expand All @@ -70,32 +13,13 @@
"**/.DS_Store": true,
"**/Thumbs.db": true
},
"cSpell.words": [
"Partitioner",
"Prompty",
"SKEXP"
],
"[java]": {
"editor.formatOnSave": false,
"editor.tabSize": 4,
"editor.codeActionsOnSave": {
"source.fixAll": "never"
},
},
"emeraldwalk.runonsave": {
"commands": [
{
"match": "\\.java$",
"cmd": "java -Xmx128m -jar ${workspaceFolder}/java/utilities/google-java-format-1.17.0-all-deps.jar --replace --aosp ${file}"
},
],
},
"java.debug.settings.onBuildFailureProceed": true,
"java.compile.nullAnalysis.mode": "disabled",
"dotnet.defaultSolution": "dotnet\\SK-dotnet.sln",
"python.testing.pytestArgs": [
"python/tests"
],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true
}
"java.compile.nullAnalysis.mode": "disabled"
}
Loading