Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Update References when renaming header files changes the include style
Update References when renaming header files changes the include style [message #1816247] Thu, 24 October 2019 16:19 Go to next message
Anton Krug is currently offline Anton KrugFriend
Messages: 9
Registered: August 2017
Junior Member
I'm using Eclipse 2019-06 and CDT 9.8.1 and when I do refactoring filename of a C /H code I get oddly formatted includes.
1. Going to project explorer to a generic C project
2. Selecting an H file
3. Right clinking it and selecting "Rename"
4. Leaving "Update References" checked and giving it a new name

Will update its name and everything which referenced it, but now instead of using previous style:
#include "file.h"
Now it used the system style and include will look like:
#include <file_new_name.h>

Is it possible to configure it to retain the previous style?
Re: Update References when renaming header files changes the include style [message #1847797 is a reply to message #1816247] Mon, 08 November 2021 17:15 Go to previous message
Martin Hansen is currently offline Martin HansenFriend
Messages: 1
Registered: November 2021
Junior Member
This has annoyed me for quite some time too.
And we are not alone:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=527582
https://bugs.eclipse.org/bugs/show_bug.cgi?id=529645

Please go vote for this if you want this fixed too.
Previous Topic:Infineon XMC 4800: Eclipse not building libaries
Next Topic:DLL PATH Environment Variables
Goto Forum:
  


Current Time: Mon Sep 26 11:47:41 GMT 2022

Powered by FUDForum. Page generated in 0.02002 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top