CATEGORY

카테고리 (576)
AI (2)
Language (251)
WEB (143)
App (45)
Git (6)
AWS (15)
DataBase (44)
OS (33)
Tool (15)
IT (17)
CodePen (2)
SEEMINGLY ONLINE

Seemingly
Online

이모저모 방방곡곡 두루두루 개발지식 저장소

RECENT POSTS

App/Flutter

[Flutter] vscode 에서 const 자동 완성 방법 "source.fixAll": true

2023-12-17


사진: Unsplash 의 Eduardo Gorghetto


1. 방법 

 

ctrl(command) + shift + p 로 Open User Settings (JSON) 검색 후 실행

 


이후 아래와 같이 

 

    "editor.codeActionsOnSave":{

        "source.fixAll": true

    }

 

를 하단에 추가 한다.

 

{
    "editor.fontSize": 14,
    "terminal.integrated.fontSize": 16,
    "debug.console.fontSize": 13,
    "[dart]": {
        "editor.formatOnSave": true,
        "editor.formatOnType": true,
        "editor.rulers": [
            80
        ],
        "editor.selectionHighlight": false,
        "editor.suggestSelection": "first",
        "editor.tabCompletion": "onlySnippets",
        "editor.wordBasedSuggestions": false
    },
    "editor.codeActionsOnSave":{
        "source.fixAll": true
    }
}

메인 이미지 출처 : 사진: UnsplashEduardo Gorghetto  

COMMENTS