The list above doesn't contain my KDevelop version: kdevelop 5.10.221202 (22.12.2) STEPS TO REPRODUCE Clone a Linux repo and try to open a device tree source file (e.g., arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts) SUMMARY While there may be an (obscure) audio mime type that uses the .dts extension, open firmware device tree source files are important and common enough that KDevelop should override any mime type land open these with the text editor. Further, adding a MIME entry for .dts files doesn't solve the problem. This forces me to edit them in Kate, which adds to confusion when I'm already trying to sort out various dts/i files and I'm already starting my work day confused. :D SOFTWARE/OS VERSIONS Operating System: Debian GNU/Linux 12 KDE Plasma Version: 5.27.5 KDE Frameworks Version: 5.103.0 Qt Version: 5.15.8 Kernel Version: 6.1.128+ (64-bit) Graphics Platform: offscreen Processors: 16 × AMD Ryzen 7 5800H with Radeon Graphics Memory: 15.0 GiB of RAM Graphics Processor: AMD Radeon Graphics ADDITIONAL INFORMATION
> The list above doesn't contain my KDevelop version: KDevPlatform and KDevelop share a single repository now. So bugs should be reported against Product=Applications/kdevelop most of the time. Newer kdevelop versions are available for selection. KDevelop opens a .dts file via the default text editor on my system, probably because Okteta has not been ported to KF6 yet. You can override how to open a file by right clicking a file entry in the Projects, Documents or File System tool view => Open With => Default Editor. KDevelop should remember your choice for the MIME type. > While there may be an (obscure) audio mime type that uses the .dts extension, > open firmware device tree source files are important and common enough that > KDevelop should override any mime type land open these with the text editor. Please report a bug to https://gitlab.freedesktop.org/xdg/shared-mime-info/ , or even implement proper detection of the MIME type for the .dts extension yourself.