Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » IDE lost fancy formatting for C++ programs
IDE lost fancy formatting for C++ programs [message #1755849] Wed, 08 March 2017 15:25 Go to next message
Michael Beatty is currently offline Michael BeattyFriend
Messages: 43
Registered: November 2011
Member
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 15:26]

Report message to a moderator

Re: IDE lost fancy formatting for C++ programs [message #1755861 is a reply to message #1755849] Wed, 08 March 2017 16:55 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
Do you have CDT installed? (Luna is very very old.)

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: IDE lost fancy formatting for C++ programs [message #1755874 is a reply to message #1755861] Wed, 08 March 2017 19:12 Go to previous messageGo to next message
Michael Beatty is currently offline Michael BeattyFriend
Messages: 43
Registered: November 2011
Member
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 05:41 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
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).

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: IDE lost fancy formatting for C++ programs [message #1755957 is a reply to message #1755894] Thu, 09 March 2017 14:43 Go to previous message
Michael Beatty is currently offline Michael BeattyFriend
Messages: 43
Registered: November 2011
Member
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: Fri Apr 19 12:06:56 GMT 2024

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

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

Back to the top