Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » default editor for undefined file types (suffix)
default editor for undefined file types (suffix) [message #258142] Wed, 11 June 2008 15:32 Go to next message
Kevin Tomasek is currently offline Kevin Tomasek
Messages: 10
Registered: July 2009
Junior Member
i have noticed that if i open files that do not have a known suffix (no
defined associations) the eclipse tool will open an nedit window for the
file in question.

i see how to define an editor for a specific file type (suffix), but i
don't see what defines the default editor for all UNDEFINED file
types(suffixs).

why did it choose nedit and not vi/emacs/... other editors

using eclipse in a linux environment with KDE as the window manager.

thanks.
Re: default editor for undefined file types (suffix) [message #258173 is a reply to message #258142] Wed, 11 June 2008 18:11 Go to previous messageGo to next message
Eclipse User
Originally posted by: codeslave.ca.ibm.com

Presumably KDE things nedit is the default handler for editing text
files. Try changing your Konqueror settings for text/plain (or other
matching content type).

Settings > Configure Konqueror > File Associations > "txt" ? text/plain
> Application Preference Order
Settings > Configure Konqueror > File Associations > "c" > text/x-csrc >
Application Preference Order

etc.

kevin t wrote:
> i have noticed that if i open files that do not have a known suffix (no
> defined associations) the eclipse tool will open an nedit window for the
> file in question.
> i see how to define an editor for a specific file type (suffix), but i
> don't see what defines the default editor for all UNDEFINED file
> types(suffixs).
> why did it choose nedit and not vi/emacs/... other editors
>
> using eclipse in a linux environment with KDE as the window manager.
>
> thanks.
>

--
Nick Boldt :: Release Engineer, IBM Toronto Lab
Eclipse Modeling :: http://www.eclipse.org/modeling
http://wiki.eclipse.org/index.php/User:Nickb
Re: default editor for undefined file types (suffix) [message #718575 is a reply to message #258173] Wed, 24 August 2011 17:24 Go to previous message
kevin t is currently offline kevin t
Messages: 1
Registered: July 2009
Junior Member
we have loaded a new linux and new eclipse on our systems and this issue has arisen once more.

i don't know what konqueror has to do with eclipse but i checked it none the less. the priority for the konqueror tool is gvim first and nedit last.

so, i am still back to the original question. if a file suffix doesn't match any of the defined file associations, how do i specify what editor should be used? how does eclipse know to bring up nedit?

using helios SR2, on a redhat 5.6 box (yea i know that it is far from current but i don't get the choice )
Previous Topic:Unable to load editor association
Next Topic:Basic installation on Windows 7 [SOLVED]
Goto Forum:
  


Current Time: Tue Sep 30 12:02:26 GMT 2014

Powered by FUDForum. Page generated in 0.02344 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software