Menu

#137 SuperAbbrevs - multi-mode abbrevs

open
None
5
2009-12-28
2009-06-17
No

Abbreviations are currently grouped by mode, e.g. one set for HTML, another for XSL, another for Python, etc or global, i.e. available to all modes. If I want to use the same abbrev in more than one mode, I have to manually recreate for each additional mode. Putting the abbrev in the global modespace fails when there is more than one definition for an abbrev, i.e. I might want to expand "tr" as a table row tag in HTML and XSL but expand to something else in Python or SQL.

I would like to be able to assign abbrevs to multiple modes, or create multi-mode abbrev sets, e.g. Python mako templates, which are a combination of HTML and Python code, could define a new mode "Mako HTML" to which abbrevs from both the Python and HTML abbrev sets are assigned, or possibly "add" modes to existing abbrevs?

Not sure what would be the best way to implement this idea, and my jEdit plugin dev skills are negligible, but I'd be happy to work with someone to define and test it.

Discussion

  • Philip Steiner

    Philip Steiner - 2009-06-17
    • summary: SuperAbbrevs - mulit-mode abbrevs --> SuperAbbrevs - multi-mode abbrevs
     
  • Sune Simonsen

    Sune Simonsen - 2009-12-28
    • assigned_to: nobody --> sune_simonsen
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.