Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Can't create file association with no extension
Can't create file association with no extension [message #297153] Tue, 10 January 2006 01:24 Go to next message
Eclipse UserFriend
Originally posted by: tony.teamxbox.com

So it's obvious from the "New File Association" dialog that eclipse does
not allow you to add an association with no file extension, Example:

my_file (I'd like to associate file of this type)
my_file.class (This I can do of course)

This is fairly common and I've setup file associations in many other
text editors and IDEs with no file extension.

Currently it's making it pretty much impossible for me to be effective
because I can't use different editors and tools for files with no extension.

BTW, I've even gone as far as to hack my config and setup a new file
association in the xml as extension="" name="*" and although this will
actually show up as a file association in the settings window, it still
does not work as expected.

Hopefully this is a simple change because it's a small feature many
would benefit from.

Regards,
Tony
Re: Can't create file association with no extension [message #297180 is a reply to message #297153] Tue, 10 January 2006 07:29 Go to previous messageGo to next message
Eclipse UserFriend
Search the help for content type ... I believe that allows files to have
their content scanned for differences (like #!/bin/bash and
#!/usr/bin/perl, for example :-)

Later,
PW
Re: Can't create file association with no extension [message #297182 is a reply to message #297153] Tue, 10 January 2006 07:32 Go to previous messageGo to next message
Eclipse UserFriend
Sorry, did you mean you can't add a general file association for the
no-extension case? That's where content type is useful.

But you can add specific file names to file associations, even without
file extensions. ex: I can assocate "MyFile" with MyEditor.

Later,
PW
Re: Can't create file association with no extension [message #297231 is a reply to message #297182] Tue, 10 January 2006 13:52 Go to previous message
Eclipse UserFriend
Originally posted by: tony.teamxbox.com

Paul Webster wrote:
> Sorry, did you mean you can't add a general file association for the
> no-extension case? That's where content type is useful.
>
> But you can add specific file names to file associations, even without
> file extensions. ex: I can assocate "MyFile" with MyEditor.
>
> Later,
> PW

Yea, I understand content types as well. Although you can specify myfile
as an association, that isn't general. So, if I have 150 files with
different names, with no extension, I'd have to enter an association for
each.

I just wish you could setup an asscoaition as *.

Thanks for the input :)

- Tony
Previous Topic:folder creation when project initialized
Next Topic:set the input for an editor
Goto Forum:
  


Current Time: Wed May 21 11:28:34 EDT 2025

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

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

Back to the top