Christian Lenz created NETBEANS-3869:
----------------------------------------
Summary: Change mimetypes from textmate added languages to better
known mimetypes
Key: NETBEANS-3869
URL: https://issues.apache.org/jira/browse/NETBEANS-3869
Project: NetBeans
Issue Type: Improvement
Components: textmate-lexer
Affects Versions: 11.3
Reporter: Christian Lenz
Assignee: Jan Lahoda
When I add a new language, the mimetype is just text/x-ext-a and the next one
will be text/x-ext-b. But this is not really usefull, when I use the mimetype
for some more specific stuff for example adding code completion items or adding
actions to those mimetypes. I can't guess, when I have 10 new languages, which
one is one.
Solution is, and most of the time it is using the extension.
So adding a new language for kt (Kotlin) files, it will be text/x-kt, for cs
(C#) it will be text/x-cs for feature (cucumber feature files) it will be
text/x-feature. This is way better IMHO. Using ext-a, ext-b, ext-c says nothing.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists