새소식

반응형
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  

반응형
Contents

포스팅 주소를 복사했습니다

이 글이 도움이 되었다면 공감 부탁드립니다.