Stop XCode opening GLSL files in eclipse - eclipse

I'm quite new to OSX and I would like to prevent XCode from opening GLSL files in eclipse.
I've tried changing the default program that opens this extension files in the OS, but i can't select eclipse as an option.

Open Eclipse > Preferences > General > Editors > File Associations
Add .glsl files and choose the default editor for this files. Text editor for example.

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)

Why my Eclipse doesn't mark the reserverd words for Haskell?

I've installed the plugin for Eclipse Luna: EclipseFP - http://eclipsefp.sf.net/updates . Its Works, but the IDE is not marking the reserved words.
That looks like you are actually using the normal text editor.
Close the file and then right click on the file in Project Explorer and choose 'Open With...' and select the Haskell editor.
Eclipse remembers the last editor you used to open a file so if you had opened this file before installing the plug-in you will get the plain text editor. Once you have opened the file with the correct editor it will use that editor by default in future.

pdev destroys c/c++ operations

After a installation of the pdev ( manually cause via "install new software" didn't work ) the normal c/c++ operations have a strange behavior.
e.g.:
c files are not recognised as c files anymore. // no syntax highlighting
an external editor is opening by a double click on a c or c++ file
.
.
.
.
If I remove the files in feuture and plugins all works fine.
Has someone a solution?
Eclipse 3.6.0 Hellios
First such report I've seen...
Have you tried just adding back the c/c++ file associations at window > preferences > general > editors > file associations?

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.