Add VSCode settings
This commit is contained in:
18
.config/Code/User/keybindings.json
Normal file
18
.config/Code/User/keybindings.json
Normal 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"
|
||||
}
|
||||
]
|
||||
32
.config/Code/User/settings.json
Normal file
32
.config/Code/User/settings.json
Normal 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",
|
||||
}
|
||||
Reference in New Issue
Block a user