{
"security.workspace.trust.enabled": false,
"[dart]": {
"editor.codeActionsOnSave": {
"source.fixAll": true
},
"editor.rulers": [80],
"editor.selectionHighlight": false,
"editor.suggest.snippetsPreventQuickSuggestions": false,
"editor.suggestSelection": "first",
"editor.tabCompletion": "onlySnippets",
"editor.wordBasedSuggestions": false
},
"dart.warnWhenEditingFilesOutsideWorkspace": false,
"dart.renameFilesWithClasses": "prompt",
"editor.inlineSuggest.enabled": true,
// g, freezed 파일 중첩 활성화
"explorer.fileNesting.patterns": {
"*.dart": "${capture}.g.dart, ${capture}.freezed.dart"
},
"explorer.fileNesting.enabled": true,
"explorer.fileNesting.expand": false,
// 스크롤시 상단이 고정됨
"editor.stickyScroll.enabled": true,
// 위젯간의 Tree 라인 생성됨
"dart.previewFlutterUiGuides": true,
// 괄호들에 각각의 컬러가 생성되어 구분하기 좋아짐
"editor.bracketPairColorization.enabled": true,
// 저장시 포매팅
"editor.formatOnSave": true,
// 저장시 모든 에러 수정
"editor.codeActionsOnSave": {
"source.fixAll": true
}
}
FVM 사용시
{
"dart.flutterSdkPath": ".fvm/flutter_sdk",
// .fvm 파일을 검색시 제거 한다.
"search.exclude": {
"**/.fvm": true
},
// .fvm 파일을 모니터링 하지 않는다.
"files.watcherExclude": {
"**/.fvm": true
}
}