Skip to content

Use spaces instead of tabs #2889

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

Merged
merged 4 commits into from
Aug 28, 2020
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
5 changes: 5 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,9 @@ root = true

[*]
charset = utf-8
indent_style = space
indent_size = 4
insert_final_newline = true

[*.{json,yaml,yml}]
indent_size = 2
80 changes: 40 additions & 40 deletions .poshchan/settings.json
Original file line number Diff line number Diff line change
@@ -1,42 +1,42 @@
{
"version": "0.1",
"azdevops": {
"build_targets": {
"ci": "vscode-powershell-ci"
},
"authorized_users": [
"adityapatwardhan",
"anmenaga",
"bergmeister",
"daxian-dbw",
"JamesWTruher",
"PaulHigin",
"rjmholt",
"rkeithhill",
"SeeminglyScience",
"SteveL-MSFT",
"TravisEz13",
"TylerLeonhardt"
]
"version": "0.1",
"azdevops": {
"build_targets": {
"ci": "vscode-powershell-ci"
},
"failures": {
"authorized_users": [
"adityapatwardhan",
"anmenaga",
"bergmeister",
"daxian-dbw",
"glennsarti",
"JamesWTruher",
"PaulHigin",
"rjmholt",
"rkeithhill",
"SeeminglyScience",
"SteveL-MSFT",
"TravisEz13",
"TylerLeonhardt"
]
},
"reminders": {
"authorized_users": "*"
}
}
"authorized_users": [
"adityapatwardhan",
"anmenaga",
"bergmeister",
"daxian-dbw",
"JamesWTruher",
"PaulHigin",
"rjmholt",
"rkeithhill",
"SeeminglyScience",
"SteveL-MSFT",
"TravisEz13",
"TylerLeonhardt"
]
},
"failures": {
"authorized_users": [
"adityapatwardhan",
"anmenaga",
"bergmeister",
"daxian-dbw",
"glennsarti",
"JamesWTruher",
"PaulHigin",
"rjmholt",
"rkeithhill",
"SeeminglyScience",
"SteveL-MSFT",
"TravisEz13",
"TylerLeonhardt"
]
},
"reminders": {
"authorized_users": "*"
}
}
91 changes: 51 additions & 40 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,42 +1,53 @@
{
"version": "0.1.0",
"configurations": [
{
"name": "Launch Extension",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [ "--extensionDevelopmentPath=${workspaceRoot}" ],
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": ["${workspaceFolder}/out/src/**/*.js"],
"preLaunchTask": "BuildAll"
},
{
"name": "Launch Extension (Build client only)",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [ "--extensionDevelopmentPath=${workspaceFolder}" ],
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": ["${workspaceFolder}/out/src/**/*.js"],
"preLaunchTask": "Build"
},
{
"name": "Launch Extension Tests",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--disable-extensions",
"--enable-proposed-api", "ms-vscode.powershell-preview",
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/out/test/testRunner.js",
"${workspaceFolder}/test"
],
"outFiles": ["${workspaceFolder}/out/**/*.js"],
"preLaunchTask": "Build"
}
]
"version": "0.1.0",
"configurations": [
{
"name": "Launch Extension",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceRoot}"
],
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": [
"${workspaceFolder}/out/src/**/*.js"
],
"preLaunchTask": "BuildAll"
},
{
"name": "Launch Extension (Build client only)",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}"
],
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": [
"${workspaceFolder}/out/src/**/*.js"
],
"preLaunchTask": "Build"
},
{
"name": "Launch Extension Tests",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--disable-extensions",
"--enable-proposed-api",
"ms-vscode.powershell-preview",
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/out/test/testRunner.js",
"${workspaceFolder}/test"
],
"outFiles": [
"${workspaceFolder}/out/**/*.js"
],
"preLaunchTask": "Build"
}
]
}
48 changes: 23 additions & 25 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,26 @@
// Place your settings in this file to overwrite default and user settings.
{
"editor.tabSize": 4,
"editor.insertSpaces": true,
"files.trimTrailingWhitespace": true,
// Add a visual ruler for the typescript linting line length
"editor.rulers": [120],

"files.associations": {
// Use JSONC instead of JSON because (1) that's how VS Code interprets snippet files, and (2) it enables better source documentation.
"**/snippets/*.json": "jsonc"
},

"search.exclude": {
"**/node_modules": true,
"**/bower_components": true,
"logs/": true,
"out/": true
},

// Lock the TypeScript SDK path to the version we use
"typescript.tsdk": "./node_modules/typescript/lib",

// Ignore the MD rule:
"markdownlint.config": {
"MD024": false // no-duplicate-header
}
"editor.tabSize": 4,
"editor.insertSpaces": true,
"files.trimTrailingWhitespace": true,
// Add a visual ruler for the typescript linting line length
"editor.rulers": [
120
],
"files.associations": {
// Use JSONC instead of JSON because (1) that's how VS Code interprets snippet files, and (2) it enables better source documentation.
"**/snippets/*.json": "jsonc"
},
"search.exclude": {
"**/node_modules": true,
"**/bower_components": true,
"logs/": true,
"out/": true
},
// Lock the TypeScript SDK path to the version we use
"typescript.tsdk": "./node_modules/typescript/lib",
// Ignore the MD rule:
"markdownlint.config": {
"MD024": false // no-duplicate-header
}
}
151 changes: 80 additions & 71 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -1,76 +1,85 @@
{
"version": "2.0.0",

"windows": {
"options": {
"shell": {
"executable": "pwsh.exe",
"args": [ "-NoProfile", "-ExecutionPolicy", "Bypass", "-Command" ]
}
}
"version": "2.0.0",
"windows": {
"options": {
"shell": {
"executable": "pwsh.exe",
"args": [
"-NoProfile",
"-ExecutionPolicy",
"Bypass",
"-Command"
]
}
}
},
"linux": {
"options": {
"shell": {
"executable": "pwsh",
"args": [
"-NoProfile",
"-Command"
]
}
}
},
"osx": {
"options": {
"shell": {
"executable": "/usr/local/bin/pwsh",
"args": [
"-NoProfile",
"-Command"
]
}
}
},
"tasks": [
{
"label": "Install",
"type": "shell",
"command": "Invoke-Build Restore",
"problemMatcher": []
},
"linux": {
"options": {
"shell": {
"executable": "pwsh",
"args": [ "-NoProfile", "-Command" ]
}
}
{
"label": "CleanAll",
"type": "shell",
"command": "Invoke-Build CleanAll",
"problemMatcher": []
},
"osx": {
"options": {
"shell": {
"executable": "/usr/local/bin/pwsh",
"args": [ "-NoProfile", "-Command" ]
}
}
{
"label": "Clean",
"type": "shell",
"command": "Invoke-Build Clean",
"problemMatcher": []
},

"tasks": [
{
"label": "Install",
"type": "shell",
"command": "Invoke-Build Restore",
"problemMatcher": []
},
{
"label": "CleanAll",
"type": "shell",
"command": "Invoke-Build CleanAll",
"problemMatcher": []
},
{
"label": "Clean",
"type": "shell",
"command": "Invoke-Build Clean",
"problemMatcher": []
},
{
"label": "BuildAll",
"type": "shell",
"command": "Invoke-Build BuildAll",
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": []
},
{
"label": "Build",
"type": "shell",
"command": "Invoke-Build Build",
"group": "build",
"problemMatcher": []
},
{
"label": "Test",
"type": "shell",
"command": "Invoke-Build Test",
"group": {
"kind": "test",
"isDefault": true
},
"problemMatcher": []
}
]
{
"label": "BuildAll",
"type": "shell",
"command": "Invoke-Build BuildAll",
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": []
},
{
"label": "Build",
"type": "shell",
"command": "Invoke-Build Build",
"group": "build",
"problemMatcher": []
},
{
"label": "Test",
"type": "shell",
"command": "Invoke-Build Test",
"group": {
"kind": "test",
"isDefault": true
},
"problemMatcher": []
}
]
}
Loading