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

Elicpse CDT and Code Completion #17309

Open
1 task
joesulewski opened this issue Nov 12, 2024 · 5 comments
Open
1 task

Elicpse CDT and Code Completion #17309

joesulewski opened this issue Nov 12, 2024 · 5 comments

Comments

@joesulewski
Copy link

joesulewski commented Nov 12, 2024

What is your question?

Hello,

I have a project I'm working on, and I was able to get Conan to work with Linux Make files and Visual Studio projects. I want to be able to use Eclipse for a Linux IDE. I can create a new CMake project and point it to my projects home directory. From here I can compile the output and run the debugger to do step debugging.

The last issue for me is that the IDE doesn't understand any of the external library includes. For example, I'm using Log4CXX and it can't find the includes, in fact, it can't even find anything from the standard library.

Has anyone been able to use Eclipse and get code completion working with Conan generated CMakefiles? Any help on getting the indexer working would be very helpful.

Thanks,
Joe

Have you read the CONTRIBUTING guide?

  • I've read the CONTRIBUTING guide
@memsharded
Copy link
Member

Hi @joesulewski

Thanks for your question.

It is the CMake Eclipse generator, isn't it?
Is it that the IDE fails to locate the headers for the highlighting and it will underline them as errors, but still builds correctly (as it is CMake building), or is it failing to build too?

@joesulewski
Copy link
Author

Hello,

Thanks for the quick reply.

I'm using the CMake for Unix Files generator, I read the Eclipse CDT is deprecated and it didn't seem to work.

Regarding your question you have it correct, the IDE underlines uses of external libraries or standard libraries as errors, however, make clean and make work perfect.

Joe

@memsharded
Copy link
Member

Great, thanks for the feedback.

Then I am afraid that there is little that can be done from the Conan side, and this is lying between CMake and Eclipse.
We can leave the ticket opened for a bit to see if there is some other Eclipse user out there that could give some hint.

@joesulewski
Copy link
Author

I was afraid that was true, but thanks for keeping it open a bit. I thought maybe it wasn't able to parse something from the generated CMake data.

Any plans to make a Conan integrated plugin for eclipse like CLion or Visual Studio?

@memsharded
Copy link
Member

Any plans to make a Conan integrated plugin for eclipse like CLion or Visual Studio?

I am afraid not, there isn't enough interest, and if any it is disappearing, we have seen a decline of people using Eclipse in the last years, specially with VSCode gaining popularity.

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

No branches or pull requests

2 participants