Notice
Recent Posts
Recent Comments
«   2025/05   »
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Tags
more
Archives
Today
Total
관리 메뉴

happycpu.blogspot.com

소스인사이트 auto indent 본문

카테고리 없음

소스인사이트 auto indent

happycpu 2016. 3. 22. 15:42

소스인사이트 custom command에서 astyle 사용하기

http://failure.egloos.com/2076990

일단 Astyle 다운로드 사이트 : http://astyle.sourceforge.net/

다운로드 받아서 적당한 폴더에 압축을 풀고

소스인사이트의 Custom Commands 메뉴에 들어가서

Command 란에 적당한 이름을 쓴 후에 ex) AutoIndent

Run 란에는 "C:\Develop\Astyle\bin\AStyle.exe" -KLmpb --indent=spaces=4 --indent-classes --indent-namespaces --indent-preprocessor --brackets=break --min-conditional-indent=0 %f

마지막으로 Key 란에서 위에서 설정한 Custom Cmd: AutoIndent 를 찾아다가 Assign New Key로 단축키 등록해주면 ex)Ctrl+Shift+A