본문 바로가기
Research/Tool

How to remove un-used imported package automatically in Visual Studio Code

by RIEM 2023. 9. 22.

Situation

  • Sometimes you forget to remove un-used packages before push
  • To avoid this situation, Set source.organizeImports setting in Visual studio code

Action

  1. Go to VSCode setting with Command + ,
  2. Open settings.json file
  3. add this to the file
    ...
    "editor.codeActionsOnSave": {
     "source.organizeImports": true
    }
    ...

'Research > Tool' 카테고리의 다른 글

API_Swagger auto-gen 적용기  (0) 2023.01.15

댓글