자동 정렬 및 복사하기
// * File //
// * Auto Save
"files.autoSave": "afterDelay",
"files.autoSaveDelay": 1000,
// * 저장할 때 자동 정렬하도록 설정
// * - Automatically format code on save and during typing of certain characters
"editor.codeActionsOnSave": {
"source.fixAll": true,
},
// * Formattiing //
"editor.formatOnPaste": true,
"editor.formatOnType": true,
"editor.formatOnSave": true,
File Grouping
// * File Grouping & Folding
"explorer.fileNesting.enabled": true,
"explorer.fileNesting.expand": false,
// * File Grouping by pattern
"explorer.fileNesting.patterns": {
"pubspec.yaml": ".packages, .metadata, pubspec.lock, analysis_options.yaml",
},
VS Code setting.json
{
// * File //
// * Auto Save
"files.autoSave": "afterDelay",
"files.autoSaveDelay": 1000,
// * 저장할 때 자동 정렬하도록 설정
// * - Automatically format code on save and during typing of certain characters
"editor.codeActionsOnSave": {
"source.fixAll": true,
},
// * Tab Indent //
"workbench.tree.indent": 4,
// * Formattiing //
"editor.formatOnPaste": true,
"editor.formatOnType": true,
"editor.formatOnSave": true,
// * Minimap //
"editor.minimap.enabled": false,
// * Fix Top Lines //
"editor.stickyScroll.enabled": true,
// * File Grouping //
// * File Grouping & Folding
"explorer.fileNesting.enabled": true,
"explorer.fileNesting.expand": false,
// * File Grouping by File pattern
"explorer.fileNesting.patterns": {
"pubspec.yaml": ".packages, .metadata, .iml, .gitignore, pubspec.lock, analysis_options.yaml",
"*.dart": "$(capture).g.dart, $(capture).freezed.dart", // build 파일과 freezed 파일을 묶어주기
},
// * Dart //
// * Causes the debug view to automatically appear when a breakpoint is hit. This setting is global and not configurable per-language.
"debug.openDebug": "openOnDebugBreak",
// * By default, VS Code will only switch to the Debug Console when you start debugging the first time in a session. This setting tells VS Code to always switch to the Debug Console when starting a session, so you can see the programs output.
"debug.internalConsoleOptions": "openOnSessionStart",
"editor.suggest.snippetsPreventQuickSuggestions": false,
"errorLens.excludeBySource": [
"dart(unchecked_use_of_nullable_value)",
"dart(missing_identifier)",
"dart(avoid_print)"
],
"workbench.editorAssociations": {
"*.kmz": "default"
},
"dart.warnWhenEditingFilesOutsideWorkspace": false,
"editor.wordWrap": "on", // * snippet ON
}