Tip
sublime text2 auto indent, reindent , smart indent
단창
2014. 3. 13. 17:35
굵직한 IDE들은 indent 재정렬을 다 지원한다.
그 이름을
auto indent
smart indent
reindent
등으로 다르게 부르고 있긴 하지만..
sublime text2는
블럭 설정한후
Edit- LIne - reindent
을 누르면 되는데 기본으로 단축키가 설정되어 있지 않다.
단축키는 개인이 설정 가능한데
Preference - Key binding User
들어가면 keymap설정 파일이 뜬다
여기에
[
{ "keys": ["Ctrl+i"], "command": "reindent"}
]
이런식으로 설정하면
Ctrl+i 로 reindent가 가능하다.
f12 등으로 해도 됨..
반응형