禁用Eclipse CDT中的自动头文件重命名 [英] Disable automatic header file renaming in Eclipse CDT

查看:224
本文介绍了禁用Eclipse CDT中的自动头文件重命名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法在Eclipse CDT Luna中禁用此功能?




Is there a way to disable this feature in Eclipse CDT Luna?

https://wiki.eclipse.org/CDT/User/NewIn85#Header_File_Rename

I do not want my #include statements being replaced with relative paths as that is against my companies code style.

Example: Before moving a header file:

#include <File.h>

After:

#include "../dir1/File.h"

Is there some setting which will disable this refactoring?

解决方案

The header/include management is controlled through a set of options in the Preferences: C/C++ -> Code Style -> Organize Includes:

这篇关于禁用Eclipse CDT中的自动头文件重命名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆