IDE(Android Studio) 활용 #2

ladmusician.kim
Jul 21, 2017 · 1 min read
  • Save and Reformat

Android Studio에는 저장과 동시에 자동으로 reformat하는 기능이 따로 없다. 다른 Jetbrain IDE에서는 외부 plugin이 있는 것 같은데 Android Studio에는 따로 없는 것 같다. 대신 Android Studio의 macro를 활용하면 저장과 동시에 자동으로 reformat하는 기능을 추가할 수 있다.

macro를 시작하고 > CMD + S(저장) > CMD + M + L (Reformat)을 한 후 macro 정지한 후 macro 이름을 지정해주면 된다.

그리고 macro에 단축키를 지정해서 저장과 reformat을 동시에 할 수 있다.

)

https://chulbuji.gq

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade