Add VSCode settings

This commit is contained in:
2018-07-31 19:24:58 +02:00
parent eef37b5466
commit 4f83517971
2 changed files with 50 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "ctrl+shift+s",
"command": "flutter.hotRestart",
"when": "dart-code:flutterProjectLoaded && inDebugMode"
},
{
"key": "alt+enter",
"command": "editor.action.quickFix",
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+.",
"command": "-editor.action.quickFix",
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
}
]

View File

@@ -0,0 +1,32 @@
{
"androidEmulatorLauncher.adbPath": "$ANDROID_HOME/platform-tools/adb",
"androidEmulatorLauncher.emulatorPath": "$ANDROID_HOME/tools/emulator",
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.bundle": true,
"**/.idea": true,
"**/.vscode": true,
"**/.packages": true,
"**/.DS_Store": true,
},
"files.autoSave": "onFocusChange",
"terminal.integrated.fontSize": 13,
"terminal.integrated.fontWeightBold": "normal",
"editor.fontSize": 13,
"editor.lineHeight": 18,
"editor.formatOnSave": true,
"editor.rulers": [
80
],
// Disable git support (and annoying popups) in IDE
"git.enabled": false,
// Disable [confusing] file icons in Explorer
"workbench.iconTheme": null,
"editor.codeActionsOnSave": {
"source.organizeImports": true,
},
"debug.toolBarLocation": "docked",
}