Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eclipse CDT (C++): Organize Imports mangling file comments #882

Open
wdtj opened this issue Aug 8, 2024 Discussed in #881 · 0 comments
Open

Eclipse CDT (C++): Organize Imports mangling file comments #882

wdtj opened this issue Aug 8, 2024 Discussed in #881 · 0 comments

Comments

@wdtj
Copy link

wdtj commented Aug 8, 2024

Discussed in #881

Originally posted by wdtj August 6, 2024
Until recently, Eclipse CDT did a fairly good job of organizing imports (Ctrl+shift+O) and Add Include (Ctrl+shift+N). It would find undefined labels, search for matching headers, and insert them after the other #include files. But recently, it's started mangling my file header comments in the process. Example:

/*=============================================================================
 Copyright(c) 2024, All Rights Reserved.
 Company Name
 ==============================================================================*/

#pragma once

/****************************   Include Files        **************************/

#include <tasks/Recorder/recorder_test.hpp>

gets mangled to:

#include <tasks/Recorder/recorder.hpp>

 Copyright(c) 2024, All Rights Reserved.
 Company Name
 ==============================================================================*/

#pragma once

/****************************   Include Files        **************************/

#include <tasks/Recorder/recorder_test.hpp>

Any ideas why this has started? Was it the update from 2024-03 to 2024-06? Is there a way to fix this? Not seeing anything pertinent in the preferences, nor on Google Search.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant