GNOME Bugzilla – Bug 334964
External tools should allow tools that are specifics for each language
Last modified: 2019-03-23 20:46:51 UTC
Two points: - Some tools should not be available for every language. - The tool should be able to know what language the current file uses. Point 1 needs some way to select the languages on which the tool is applicable. Basically we need a list of languages and checkboxes, but how to show it ui-wise ? A tab, an expander ? Point 2 is already doable using the file extension, but providing the mime-type in an environment variable would be cleaner
IIRC, my first UI prototype had this feature. BTW, I think the solution (from the UI point of view) could be adding a combo box like the following one: When closed Languages: [C, Java, Perl V ] When open Languages: +---------------------+ | [ ] All Languages | +---------------------+ | [ ] Ada | | [ ] C/C++ | | [ ] Java | | [ ] Perl | +---------------------+ We could also see like this feature is implemented in TextMate.
*** Bug 379336 has been marked as a duplicate of this bug. ***
It would be really nice to see this feature implemented. Is it a reality, or even in progress to make a future release?
the new storage format is a step in the right direction since we could use something like: # langs: c, c++, java but still many questions need to be hashed out, like which identifier to use for the language
Created attachment 79525 [details] [review] implementation in library, using mime type
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.