Bug 263316 - [Content Type] Filename patterns for content types and file associations
[Content Type] Filename patterns for content types and file associations
Status: NEW
Product: Platform
Classification: Eclipse
Component: Resources
3.4.1
All All
: P3 enhancement with 4 votes (vote)
: ---
Assigned To: Platform-Resources-Inbox CLA Friend
:
: 129747 (view as bug list)
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2009-02-02 18:35 EST by David Neal CLA Friend
Modified: 2014-02-14 12:38 EST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Neal CLA Friend 2009-02-02 18:35:06 EST
Currently eclipse only supports wildcard prefixes for content types and file associations (e.g *.xml).  It needs to be able to handle wildcard suffixes as well so if you have a file format that has a fixed prefix but not suffix you can add it as a content type or file association (e.g. Makefile.*).
Comment 1 Szymon Brandys CLA Friend 2009-09-16 06:38:16 EDT
*** Bug 129747 has been marked as a duplicate of this bug. ***
Comment 2 Pavel Mendl CLA Friend 2014-02-14 12:38:11 EST
The best (if implementation would be possible) would be to check filenames by the standard regex pattern(s) to define associations. This would allow for all the imaginable combinations to get configured properly. Upvoting the solution.

Just for reference, this would solve bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=292229 too.