Disable auto-rename header file in Eclipse CDT

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

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

I do not want my #include statements to be replaced by relative paths, as this contradicts the code style of my companies.

Example: Before moving the header file:

#include <File.h> 

After:

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

Is there any tweak that disables this refactoring?

+5
source share
1 answer

Header / inclusion control is controlled using a set of parameters in the settings: C / C ++ → Code Style → Arrange Includes:

enter image description here

0
source

Source: https://habr.com/ru/post/1209726/


All Articles