Eclipse 3.3 default editor under Vista - eclipse

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 ?

You do have (since eclipse3.2):
Open With->System Editor from the context menu
alt text http://www.myeclipseide.com/modules/ContentExpress/img_repository/docs/55M1/snaps_crossover.gif
That will pick the editor the system (here Vista) currently associates with your files.
But that still leaves you with the unpleasant task to set up the proper associations within the System itself (Vista)

There are some relevant feature requests for similar use cases (but they are there for years so don't expect to implement them soon):
Default editor for unknown extensions
File Associations doesn't accept standard wildcards
Currently you have to manage each important "dot-started names" individually in File Associations as you mentioned, I suppose.

Related

No JavaScript syntax highlighting in Eclipse 2020-09

I just upgraded to Eclipse 2020-09 (4.17.0) from Eclipse Luna. After installing, I installed Eclipse Web Developer Tools 3.19 from the Marketplace, then restarted Eclipse. When I open a .js file, there is no syntax highlighting. It was fine out of the box with Luna, so is there anything extra that I need to configure in 2020-09? File associations for *.js shows this:
It seems JavaScript files (*.js) have been associated with the plain text editor instead of the Generic Text Editor by mistake (please make sure it has been reported to Eclipse).
Right-click the file and choose Open With > Generic Text Editor.
Or better, associate all *.js files with the Generic Text Editor by right-click a *.js file, choose Open With > Other..., select the Generic Text Editor in the list and tick the Use it for all '.js' files* checkbox at the bottom (as shown in my video here).
Yes, you need to install the Wild Web Developer feature so that it provides that functionality through the Generic Text Editor.

eclipse - how to open a text-like file type if it's registered with another application

I like using Eclipse to open up certain text-based files that are huge - 140MB - because unlike notepad++, Eclipse can open larger files.
With notepad++, I could drag-drop a file into an open instance and it'd open it. With Eclipse, whether I do File>Open file or drag-drop, it still pops-open the Windows 10 Please select an application to open the file-type
QUESTION
How can I force Eclipse to open them even if they are registered to be opened by another application?
You can select the editor to open files in with a right click.
Text Editor is eclipse, System Editor is whatever your OS chooses.
I believe default editor is what eclipse chooses based on the extension (Text editor vs. System Editor)

Eclipse insists on opening java files in Sublime

We recently upgraded our copies of Sublime. Problem is now our developers that use eclipse are having trouble opening java files. It seems that Eclipse has for one reason or another decided that half of the java files should be opened with "Java Editor" (when you right click and go to Open With) and the other half should open in "System Default" which as it turns out, is Sublime.
Where is the button I press to reset this stupid thing so Eclipse will open java files in Eclipse?
Eclipse "remembers" when files were "Open with"-ed with a certain Viewer and opens that file always with that Viewer from than on (it gets highlighted in the Options list and overrides the file-association).
You could try to change it back to the default by choosing "Default Editor" in the "Open with" context menu option in Project Explorer for each file that behaves strange.
The default editor for a file type can be set through Window>Preferences>General>Editors>File Associations. If multiple editors are set for .java and it's bugging out then possibly removing all editors except the default will help.

How can I change Eclipse color scheme for a specific file extension?

I've installed Eclipse Debugger Plugin for v8.
When a Javascript file is brought up from the remote connection, it has a .chromium extension.
Acutal color scheme for *.chromium files is not ideal but I haven't been able to figure out how to change it.
I went into Window > Preferences > General > Editors > File Associations and changed *.chromium file association from "JS Editor" to "JavaScript Editor" (used for .js files edition, and having the color scheme I want.)
However making this change had no effect.
I have the "Eclipse Color Theme" add-on installed and am using Eclipse version 4.2.1.M20120914-1800 running on windows 7.
Once I right clicked on one of the .chromium files and selected "Open With->JavaScript Editor" that file came up with the same editor as the js files. Doing this once must have fixed something in eclipse because now subsequently all .chromium files open up with the other editor.

how can I make the internal editor the default editor in eclipse

I want the default edior to be the internal editor and not the system editor.
I have it configured in window->preferences->file associations to use default internal xml editor for *.xml yet eclipse always tries to open files with OS system editor. How can I prevent this?
The editor type is mapped to file type; you can do this on a per-workspace (global) or per-project basis.
It should be pretty much as simple as this:
http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.wst.xmleditor.doc.user%2Ftopics%2Ftxprefs.html
Go into "Help, Install Software, What is already installed?" and make sure you have "Eclipse XML Editors and Tools" installed. You you don't, then get it.
Finally, create a new, "clean" project, add an XML file, and verify it works correctly
I found this question but the answers didn't help me, so I continued searching and found the answer here http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Ftasks%2Ftasks-51.xhtml
Basically, in the Preferences, General > Editors > File Associations, then define your file types (if not already there), and select an editor.
Right Click on File from Project,
Select Open with ....
Select your editor