공부

[UE5] UFUNCTION 들여쓰기 clang-format 자동화

김진우 개발일지 2023. 9. 22. 16:45

Git : https://github.com/TensorWorks/UE-Clang-Format

 

GitHub - TensorWorks/UE-Clang-Format: Unreal Engine Clang-Format configuration and instructions.

Unreal Engine Clang-Format configuration and instructions. - GitHub - TensorWorks/UE-Clang-Format: Unreal Engine Clang-Format configuration and instructions.

github.com

 

링크로 들어가서 .clang-format 파일을 프로젝트에 cpp 파일이 있는 곳에 넣어주면 된다. 놀랍게도 비주얼 스튜디오에서 텍스트 서식을 수정할 때 .clang-format을 자동으로 감지해 적용해준다.