Eclipse-CDT: Use Namespace in automatic generated include-guards

前端 未结 2 1016
太阳男子
太阳男子 2020-12-20 11:43

Is it possible (and how) to add the namespace in the name of the automatic generated include guards in Eclipse CDT, when creating a new class using the .hpp/.cpp templates?<

2条回答
  •  青春惊慌失措
    2020-12-20 12:15

    There's a hidden preference you can set to get at least the file's path or a uuid in there instead of just CLASSNAME_H_. See my full answer here.

提交回复
热议问题