Im building a project in Omnet++ and when Im trying to use
Ctrl + Space
In any of the modules , I dont get auto completion to anything from the .h file's I have include.
I dont get any error or warning on any of the #include's I do ,
and no problem in compiling the project.
What to do?
Thanks
The OMNeT++ IDE is relying on the Eclipse CDT for editing C++ code. There seems to be a question (with answer) that deals with autocomplete problems of Eclipse CDT on Stack Overflow here. It might apply to your problem as well.
Related
Recently I asked a question and one of the guys here really tore into me about not using a debugger. Someone else was nice and suggested Visual Studio C++. I have been trying to work with it and it was really nice until I tried more complex code.
So I decided to try eclipse since that is the IDE I prefer. I got through the missing .gde file problem.
Now the debugger opens but It is only debugging assembly code files. This does me no good if it is not stepping through my own code.
It does not even get to my breakpoints or my code.
It don't help me to step through code I didn't write.
I really hope someone can help with this.
So the question is simple :
How to get Eclipse CDT to Debug my code I write and to stop and recognize breakpoints???
Below pic is what I am getting.
I finally just went with Visual studio, not my choice but it work better than the others for a debugger.
I'm investigating switching from Eclipse Scala IDE to Intellij 15 + Scala plugin.
I can see that compile errors are reported in the Messages tool, but I can't see any highlighting of source files containing errors in the project tree.
Is this feature not available? If not, how do you cope? Have I been just spoiled by Eclipse and should learn to 'rough it'?
Update
This question is different to IntelliJ - show where errors are because:
This question is concerned with visual indicators against files in the folder/file tree view.
That question is concerned with indicators within the files being edited. This can be seen in the accepted answer, where the screenshot concerns editor settings for code highlighting.
I opened an issue with the exact same request when I switched from Eclipse to IntelliJ: https://youtrack.jetbrains.com/issue/IDEA-110767 !
After a while you become accustomed to look at the messages window where you get active links which when clicked, directly take you to the error.
Having syntax highlighting in the tree is nice when you refactor and hence tend to break a lot of existing code. At the same time automatic refactoring was (still is?) much better in IntelliJ than it was in Eclipse.
Im using Eclipse Luna.
I want to edit some code in the middle while i debug the code. That is, I connected to a server and try to debug code,So at some point i want to edit the code make it to run.
Is that possible in Eclipse? I think this can be done in IDEA..Not sure how can i do that in eclipse?
You can definitely edit the code while debugging, although that would not have any effects on the currently debugged process. You have to relaunch the debug process to see the effects.
I am facing one problem in Netbeans 6.8, the output window of Netbeans not showing the output from project which i used as system.out.println().
How to solve this issue with Netbeans 6.8?
Ensure that you are running the right project, many a times we have
multiple projects open and main project is some different project
Ensure that the code block you want to get executed is reached by the
Java Virtual Machine, it may happen that the code part if not reached
due to some earlier condition
Try posting example of your code here
to get more specific answers
that's because you have used lowercase 's' in the System.out.println()...
;)
i had put two libraries on the build path of my project, and then i closed eclipse for the night. when i re-opened eclipse, and opened the same workspace, the libraries "aren't working" in that eclipse isn't doing any of the helpful things it was previously doing, like underlining bad syntax with red squigglies, reporting things that didn't get imported, etc. anyone have an idea of what happened?
Maybe you have disabled "Project->Build Automatically"?
Try Project->Clean. Perhaps the perspective has changed, e.g. from one language to another so it isn'd doing any syntax highlighting