Make hotkeys for syntax selection in the statusbar-dropdown for language/syntax selection

Asked by Stefan Wagner

I have a feature request.

When I edit a file temporarily, so that it doesn't have a name with extension, there is no syntax high-lightening. But I can select one: In the status bar is a drop down list.

Unfortunately, Gedit is so popular, that there are hundreds of languages, so I scroll, and scroll, and scroll ...
Meanwhile, while scrolling, I can explain, that mostly I use Gedit for scala, bash, Java, sql and sed, and since 'bash' isn't a separate entry, but subsumed as 'sh', nearly all are close to the end of the list.
(I'm still scrolling). :)

I have different solutions in my head:
 * By hitting 's', jump to the first language which starts with 's'. To jump to 'scala', either hit 's', 'c' or multiple times 's' until 'scala' is reached.
 * Allow shortcuts, so people can mark their favorite languages
 * Allow resorting, so that people can place their favorite languages on top.

Is it possible for me to remove rarely used languages from list, but just from the selection list, so that a file with extension 'hs' for haskell would still be highlighted correctly?

I'm using Gedit 2.30.3, which is included in xUbuntu 10.4 LTS and would be sorry for disturbing, if this is already solved in a current version.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gedit Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
delance (olivier-delance) said :
#1

Suggestion for improvement should be send to http://brainstorm.ubuntu.com/

Can you help with this problem?

Provide an answer of your own, or ask Stefan Wagner for more information if necessary.

To post a message you must log in.