Problems Opening an Editor in Eclipse

I used to be able to open *.sql files in my Eclipse text editor. For some reason that stopped working this morning:

    Invalid menu handle.

InvalidMenuHandle

    Problems opening an editor... unable to open external editor.

ProblemsOpeningEditor

To fix this behavior for ALL files of a certain extension:

    Window > Preferences -

... and on the Preferences Tree:

    General > Editors > File Associations -

... add your File Type extension, for example *.sql

... and finally add your Associated Editor. I chose "internal editors" - "text editor"

TextEditorPreferences

You can also change the behavior "temporarily" for a single file. Right click the file, click "Open With..." and select the editor...

OpenWith

5/20/2008 | Comments (2) in Eclipse
Email

Related posts

Comments

Kirk us

Friday, June 06, 2008 9:53 AM

Hey Dave! At least I'll know what to do if my eclipse ever gets out of alignment Tong

You need to fill up the art section!

Bredbånd us

Friday, January 08, 2010 1:28 AM

Took me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It's always nice when you can not only be informed, but also entertained! I'm sure you had fun writing this article.