You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Christian Lenz (Jira)" <ji...@apache.org> on 2020/02/12 20:39:00 UTC
[jira] [Created] (NETBEANS-3869) Change mimetypes from textmate
added languages to better known mimetypes
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: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists