[
https://issues.apache.org/jira/browse/NETBEANS-3869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17231615#comment-17231615
]
Christian Lenz commented on NETBEANS-3869:
------------------------------------------
It is possible to do it by my own, but it is just a workaround. You can see the
instructions here: https://github.com/Chris2011/netbeans-textmate-files
> 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
> Priority: Major
>
> 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