Syntax Coloring Partially Working

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Syntax Coloring Partially Working

1,072 Views
gregs5451
Contributor III

I REALLY like having this capability to help sort out the gobbledygook.  Had intermittent issues with this before on other Eclipse tools.  Xpresso seems to be abnormally stubborn about this now.  What gives?  I understand scalability issues with large files...this doesn't seem to be the culprit as EVERYTHING only partially works.

pastedImage_1.png

Labels (1)
0 Kudos
7 Replies

950 Views
gregs5451
Contributor III

Problem solved.  My own fault of course.

How foolish of me to think that I could import an Eclipse based .epf Preference File, designed to be imported into an Eclipse based tool, and expect it to work.  Especially after doing this from CodeWarrior to KDS, with no issues.  Apparently I didn't read the memo buried somewhere?

All is much better now after blowing away the install and reinstalling and then setting my preferences manually.

Although I still get what appear to be trivial warnings caused by a fresh install, at least the Errors I was getting, are now gone and Syntax Coloring WORKS!

pastedImage_1.png

0 Kudos

950 Views
ErichStyger
Senior Contributor V

Is that .epf from the Eclipse Process Framework? I have not used that framework, but it looks the issue is more in the EPF (I assume you have that installed into your Eclipse).

The first warning about git: it seems to me that you don't have installed git (which would be fine).

The last one seems to come from something else you have installed (maybe the EPF plugin?).

So it seems somehow that the EPF plugin is causing problems. I admit that I have not used that plugin, but to me this seems to be the cause of your problems. I suggest you check your key bindings for CTRL+U here:

pastedImage_2.png

I hope this helps,

Erich

0 Kudos

950 Views
gregs5451
Contributor III

Converse is correct.  .epf is a preference export/import file.

I show the exact same conflict that you are showing in the keys window?  Are you not getting a conflict warning?

Just curious.  If I click on the "Unlock All Settings", the list jumps to nothing being selected.  In fact I don't see anywhere in the list a command for "Unlock All Settings"?  Doesn't seem to be a big deal, just more weirdness.

0 Kudos

950 Views
converse
Senior Contributor V

An .epf file is what you get when you export preference from any version of Eclipse - no plugins required. Open preferences and then export (the icon on the bottom left of the dialog).

0 Kudos

950 Views
ErichStyger
Senior Contributor V

I assume this is about custom macro coloring?

Not sure what is different on your side (I'm using IDE 11.0.1), but for me that works well:

pastedImage_1.png

Maybe you have an Indexer issue, could you try to re-build the Indexer and disable heuristics (see Fixing the Eclipse Index | MCU on Eclipse ).

I hope this helps,

Erich

0 Kudos

951 Views
gregs5451
Contributor III

Yes, Macro's and everything else not coloring.  I am also using IDE 11.0.1. I have even re-installed once again already.

Before trying the re-indexing rebuild, I did the following under preferences with no luck.

I then performed a index rebuild.  No change.

pastedImage_1.png

I think of some interest though, is the warnings and errors I get right out of the box when simply starting Xpresso, shown here.  This is initially what I was trying to resolve with a re-install.  I have no clue if they are normal or unimportant.

pastedImage_2.png

The next item of interest is when I open a header file to see if any coloring has changed and the "Warning" that says "Error getting ScannerInfo: Unable to determine language for resource L/frdmkl25z_rtos_examples_freertos_hello/board/board.h"

This seems to indicate that it does not know what language is being used....and therefore I assume it doesn't know how to apply coloring?  Is this the problem?  How/where would it be corrected?  Why would it not know from example code right out of the box?

By the way, I have CodeWarrior Eclipse and KDS installed and both seem to work OK.

pastedImage_3.png

Any other suggestions?

Thanks for your input.

0 Kudos

951 Views
ErichStyger
Senior Contributor V

There might be a problem with the project itself: or do you see the problem for other projects too?

There seems to be a severe problem with the plugins doing the scan.

And the duplicate id thing in the message indicates a problem with the installation too.

Could it be that you 'over-installed' the IDE into an existing installation/folder?

Or are you sure you installed into an empty folder (should be the default)?

To check if it is a problem with the project: could you share it here?

I hope this helps,

Erich

0 Kudos