views:

480

answers:

2

I switched some months ago from Eclipse 3.0 under Win2000 to Eclipse 3.3.2 under Vista. With my old platform, when I opened a file from eclipse navigator, for which no particular editor was configured, the file was defaultly opened with LPAD editor.

Now with my new platform, in the same situation, Eclipse delegates the choice to Vista, so to keep the same behavior I have to explicitly add the "unknown" extension in Window / Preferences, menu General / Editors / File Associations, and configure it to open with eclipse text editor. Of course ".*" si not accepted like a valid extension, so I have to do it extension by extension. And by the way there are tons of such "unknown" extensions I work with : .launch, .cvsignore, .pmd, .ruleset, .bindings, .csv (I want to edit such with textEditor, not excel), .vm, and so on...

From eclipse navigator I can open the context menu and select, for THIS particular file, to open it with the text editor, but it does not apply to other files with the same extension.

It's worse when opening the file from Open Resource dialog box, as in this case the context menu is not even available.

In a word, is there any way to configure eclipse 3.3.2 under Vista so that any file with an unknown extension will open with a given eclipse default editor ?

A: 
VonC
Note: on Linux, this seems even less simple... http://dev.eclipse.org/newslists/news.eclipse.newcomer/msg12550.html
VonC
It does not answer my question, but just provide details about what I called "context menu". Moreover, this editor choice only applies to the current selected file (here dodge.jpg), not to all *.jpg files.
zim2001
Strange, it should apply to all jpg, since it uses the default Vista association mechanism
VonC
I think eclipse remembers such user's choice for each individual file
zim2001
Right I see what you mean: the vista association is global, but the editor choice is file by file! I will investigate on that.
VonC
A: 

There are some relevant feature requests for similar use cases (but they are there for years so don't expect to implement them soon):

Currently you have to manage each important "dot-started names" individually in File Associations as you mentioned, I suppose.

Csaba_H
yerk, I was afraid of such a conclusion. Thank you for the links.
zim2001