Originally Posted by Beanpole
|
So I did the following:
Help Menu -> Install New Software -> Select Indigo Site
Then I installed the following packages:
Programming Tools-> [Autotools support for CDT, C/C++ Development Tools, C/C++ Development Tools SDK, CDT Visual C++ Support]
I then restarted the program and opened up two files (a *.cpp and a *.h file): Syntax highlighting was not enabled for either of them.
I did some additional checking, and it looks like the plugins are getting added into the PBI directory (not the user's home dir) at <pbi-dir>/lib/eclipse/[plugins/ and features/]. It does not seem to matter if you are running the program with root permissions or not when installing plugins, since either way the plugin is registered as being installed.
In either case though I did not see a new "perspective" available for the appropriate programming language (for syntax highlighting). Is there some other way of checking that the plugin is working properly?
|
Just installing Eclipse in a fresh VM...I remember that it just worked for me.
You should have a "C/C++" perspective. In Window->Preferences, in the tree on the left, there could be a "C/C++" node on the top level of the tree. Highlighting should work. In the "new project" wizard there should be a node "C/C++" with several project types.
Do you see CDT in Help->About(...)->Installation Details->Features? If it didn't load, maybe there are logs somewhere?
BTW, "perspective" is just GUI layout. Highlighting is a feature of a text editor and whatever perspective you have opened, *.cpp and *.h should have syntax highlighting working.