Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to highlight "ini files" in Eclipse

How do I make Eclipse to highlight .ini files?

In the menu Window/Preferences, General/Content Types, Test/Configutation files, in the box "File associations:" I can see:

*.cfg (locked) *.ini (locked)

but I don't know either if this has something to do with the matter, or what can I do see the ini files highlighted instead of flat-black.

Does eclipse support ini higlighting natively? How do I activate it? Or maybe do I have to install a plugin? Which one?

like image 422
Xavi Montero Avatar asked Apr 05 '12 10:04

Xavi Montero


People also ask

How do I open a .ini file in Eclipse?

You can reach this location by first right clicking on Eclipse app and click on “Show Package Contents” and then in the next window navigate to Contents/Eclipse directory, as shown in below images. Here is the example eclipse. ini file from my default eclipse installation.

How do I edit a .ini file?

It's not a common practice for people to open or edit INI files, but they can be opened and changed with any text editor. Just double-clicking it will automatically open it in the Notepad application in Windows.

What is INI file in Eclipse?

ini in your Eclipse installation directory (or in the case of Mac, the Eclipse. app/Contents/MacOS directory) is used. eclipse. ini is a text file containing command-line options that are added to the command line used when Eclipse is started up.

How do I locate an INI file?

The INI file which contains the Program Options is stored in the user's Windows\application_data folder (something like C:\Users\pguth\AppData\Roaming\microdem\microdem. ini) .


1 Answers

I've just found this plugin that seems to do the trick. It is a little overzealous and assigns itself to all known filetypes but editing Preferences > General > Editors > File Associations can solve this.

http://colorer.sourceforge.net/eclipsecolorer/index.html

like image 197
Ezequiel Muns Avatar answered Oct 11 '22 02:10

Ezequiel Muns