FlorianT
FlorianT

Reputation: 1227

Eclipse: how to mark occurrences in file opened from History

I'm using Eclipse CDT (Kepler & Luna) and I've found the Mark Occurrences feature to be really helpful, especially the variables occurrences/write occurrences.

But when I open a c or c++ file from the History View (right click on a file, Team, Show in history, then double click on a version), no occurrences are marked anymore.

Is there a way to enable the Mark Occurrences there? Because I'm back to Ctrl+F or Ctrl+K, which are not as helpful...

Note that with java files it works.

Upvotes: 1

Views: 53

Answers (1)

FlorianT
FlorianT

Reputation: 1227

It turns out (cf. question comments) that when files are opened from history, the Mark Occurences and most of semantic highlighting features are not (yet) supported in the CEditor. An enhancement request has been filed in Eclipse's Bugzilla: Bug 483386 - Semantic highlighting features not implemented in the CEditor for files opened from the history.

Upvotes: 1

Related Questions