TextEditor: add mime type for device tree source files

Fixes: QTCREATORBUG-19029
Change-Id: I1959681cb7e0f9466cea3344836d7029a98b4548
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
David Schulz
2024-02-29 14:34:26 +01:00
parent 251a8a2210
commit 02bac28488

View File

@@ -15,5 +15,15 @@
"Category" : "Core",
"Description" : "Text editor framework and the implementation of the basic text editor.",
"Url" : "http://www.qt.io",
${IDE_PLUGIN_DEPENDENCIES}
${IDE_PLUGIN_DEPENDENCIES},
"Mimetypes" : [
"<?xml version='1.0'?>",
"<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>",
" <mime-type type='text/vnd.qtcreator.devicetree.source'>",
" <comment>Device tree source files</comment>",
" <sub-class-of type='text/plain'/>",
" <glob pattern='*.dts' weight='80'/>",
" </mime-type>",
"</mime-info>"
]
}