#10067: Extension should determine file type with same sniffer rule
--------------------------------+-----------------------------------
Reporter: humdinger | Owner: bonefish
Type: enhancement | Status: new
Priority: normal | Milestone: R1
Component: Servers/registrar | Version: R1/Package Management
Resolution: | Keywords:
Blocked By: | Blocking: 10917
Platform: All |
--------------------------------+-----------------------------------
Comment (by nephele):
Hey,
Is there code currently to determine the mime type by the extension or was
this never implemented in the first place?
I'm willing to work on this, it's somewhat annoying that sourcecode keeps
getting opened with StyledEdit if it doesn't start with a C style comment
:)
(text/x-source-code has .lua as an extension, but i don't get any files
recognized as this)
--
Ticket URL: <https://dev.haiku-os.org/ticket/10067#comment:6>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.