[atom] [atom-beautify : uncrustify] C,C++ 코드 정렬


문제점

오류 : Could not find 'uncrustify'. The program may not be installed.



해결

1. 코드 정렬을 위한 atom-beautify를 아톰 settings에서 설치


3. 설치된 파일들을 C:\Uncrustify 파일 만들어서 옮기기


4. 환경변수 설정하기 : 제어판 -> 시스템 및 보안 -> 시스템 ->고급 시스템 설정 -> 환경변수

 ** 시스템 변수 -> Path에 새 변수 추가, 밑처럼 C:\Uncrustify추가하기



5. 잘 추가되었는지 window cmd에서 확인 : where uncrustify


6. atom - settings - packages - Atom Beautify 들어가기

    - 스크롤 내리면 settings의 Executables 보임 
    - 눌러서 Uncrustify의 path 지정 : C:\Uncrustify\uncrustify.exe









댓글 쓰기

0 댓글