Migrate from GitHub to SourceForge with this tool. Check out all of SourceForge's recent improvements.
Close

#388 FirstMate feature request

None
open
nobody
None
5
2017-12-28
2017-12-27
sigzero
No

It has been requested on the mailing list that this plugin be updated a little bit. Here are the suggestions:

  1. Create an option pane with check boxes that allow each option to be toggle on/off.
  2. Either a "custom" textfield where you can add your own separated by commas or just add "<" to be autocompleted to "<>".

The "<" one is what was actually asked for and would be the easiest to implement.

So the option pane would look like:

Autocomplete:

[X] parens - (
[X] braces -
[X
brackets - {
[X] apostrophe - '
[X] quotes - "
[ ] lessthan - <

[X] Enable autopaired characters on startup
[X] Don't autopair apostrophe following a letter
[X] Remove autopair characters on backspace
[X] Autopair characters around selections

The items that are [X] respresent the current default for the plugin and should remain the current default.

Discussion

  • Alan Ezust

    Alan Ezust - 2017-12-27

    Ollie Rutherfurd is no longer developing jEdit, so someone else will need to volunteer.

     
  • Alan Ezust

    Alan Ezust - 2017-12-27
    • assigned_to: Ollie Rutherfurd --> nobody
    • Group: -->
     
  • Skeeve

    Skeeve - 2017-12-28

    The "custom" textfield could (maybe) be done in such a way that perl custom brackets are supported.

    In perl the "m" and "s" regex operators can accept any character as delimiter. So if the custom field would split the entered text on whitespace and take each pair as the "brackets" to use, one could for example use:

    m# # s# ## m: : s: ::
    

    To have auto brackets for stuff like:

    m#text#
    
    s:text:replace:
    

    …just thinking loud… ;)

     

Log in to post a comment.