After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 334964 - External tools should allow tools that are specifics for each language
External tools should allow tools that are specifics for each language
Status: RESOLVED FIXED
Product: gedit-plugins
Classification: Other
Component: General
2.14.x
Other Linux
: Normal enhancement
: ---
Assigned To: Gedit maintainers
Gedit maintainers
: 379336 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-03-18 09:53 UTC by Steve Frécinaux
Modified: 2019-03-23 20:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
implementation in library, using mime type (1.72 KB, patch)
2007-01-06 13:35 UTC, Steve Frécinaux
needs-work Details | Review

Description Steve Frécinaux 2006-03-18 09:53:28 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
Comment 1 Paolo Maggi 2006-03-18 10:23:05 UTC
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.
Comment 2 Paolo Borelli 2006-12-29 20:12:03 UTC
*** Bug 379336 has been marked as a duplicate of this bug. ***
Comment 3 James Read 2006-12-30 02:27:07 UTC
It would be really nice to see this feature implemented. Is it a reality, or even in progress to make a future release?
Comment 4 Paolo Borelli 2006-12-30 09:57:15 UTC
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
Comment 5 Steve Frécinaux 2007-01-06 13:35:18 UTC
Created attachment 79525 [details] [review]
implementation in library, using mime type
Comment 6 jessevdk@gmail.com 2009-05-22 02:04:20 UTC
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.