Skip to main content



      Home
Home » Newcomers » Newcomers » IDE lost fancy formatting for C++ programs
IDE lost fancy formatting for C++ programs [message #1755849] Wed, 08 March 2017 10:25 Go to next message
Eclipse UserFriend
I'm running Eclipse Luna on Linux and primarily develop in Java... all is well here. However, I occasionally do some C/C++ development. I'm certain that months ago when I used C++ code last, the Eclipse IDE formatted the text of my code nicely with colors for keywords, text strings, errors, warnings, etc. but now, it all just comes up with black text like it doesn't recognize it as code, but a simple text file. I've got a perspective for C/C++, but selecting it does nothing.

How do I get my nice and helpful formatting back?

[Updated on: Wed, 08 March 2017 10:26] by Moderator

Re: IDE lost fancy formatting for C++ programs [message #1755861 is a reply to message #1755849] Wed, 08 March 2017 11:55 Go to previous messageGo to next message
Eclipse UserFriend
Do you have CDT installed? (Luna is very very old.)
Re: IDE lost fancy formatting for C++ programs [message #1755874 is a reply to message #1755861] Wed, 08 March 2017 14:12 Go to previous messageGo to next message
Eclipse UserFriend
Ed Merks wrote on Wed, 08 March 2017 11:55
Do you have CDT installed? (Luna is very very old.)


I don't believe so, if I do, I didn't install it on purpose.
Re: IDE lost fancy formatting for C++ programs [message #1755894 is a reply to message #1755874] Thu, 09 March 2017 00:41 Go to previous messageGo to next message
Eclipse UserFriend
You'll want to use Help -> Install New Software and find "C/C++ Development Tools". Be especially aware of the Open With on the context menu to ensure you're opening the file with CDT's editor (and of course that CDT's editor is installed and available on the list of Open With choices).
Re: IDE lost fancy formatting for C++ programs [message #1755957 is a reply to message #1755894] Thu, 09 March 2017 09:43 Go to previous message
Eclipse UserFriend
That did it, thank you.
Previous Topic:Unable to connect to repository Luna
Next Topic: !MESSAGE Warnings while parsing the key bindings in .log
Goto Forum:
  


Current Time: Wed Jul 16 21:24:57 EDT 2025

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

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

Back to the top