Wrong editor opens on some cpp and hpp files [message #1013309] |
Sat, 23 February 2013 09:21 |
Joost Kraaijeveld Messages: 273 Registered: July 2009 |
Senior Member |
|
|
Hi,
Suddenly some of my cpp and hpp files are opened with the system ascii
editor (gedit) instead of with the Eclipse source editor. Most of the
time it happens when opening files from a search, but it also happens
when I open some files from the C++ project explorer. The icons of those
files are indeed changed to that of an ordinary text file. If I open
such file through "Open with" and chose "text editor" they open in
Eclipse but I have no syntax colouring. I did not change anything to the
file types, and I did not change the editor through "Open with" for
those files.
What can I do to make Eclipse understand that it are real C++ files?
TIA
Joost
Cheers,
Joost
|
|
|
|
Re: Wrong editor opens on some cpp and hpp files [message #1014327 is a reply to message #1014155] |
Mon, 25 February 2013 15:42 |
Joost Kraaijeveld Messages: 273 Registered: July 2009 |
Senior Member |
|
|
On 25-02-13 10:18, Axel Mueller wrote:
> Open Preferences->General->Editors->File associations
> Here you can associate a file type with an editor. Perhaps you inserted
> some of your files here by accident.
No, I did not do that. Besides that, it happens to *some* hpp or cpp
files, not all.
Joost
Cheers,
Joost
|
|
|
Powered by
FUDForum. Page generated in 0.06011 seconds