Tools/Eclipse

include_guard_style 변경

_Erato 2016. 12. 21. 10:27

헤더 파일의 include_guard_style을 변경한다.

window->prefrerences->c/c++->code style->name style에서 선택 가능.

include guard를 선택하면 다음과 같이 선택 할 수 있다.

1. file path relative to source folder

2. file name

3. unique identifier


여기서 2번을 선택하면 항상 쓰던 그런 형식이다. ex) FILENAME_H_

Include Guard Style

There is a new preference for the style of include guards.

Include guard style.png