[Github-comments] [geany/geany] Improve auto close (#2943)

elextr notifications at xxxxx
Thu Nov 4 06:35:21 UTC 2021


The reason I ducked was to avoid the missiles from those who do not want to have their existing functionality (no matter how bad) removed :grin:.  I was expecting more comments, but perhaps @kugel- said it so eloquently that nobody could add anything.

Since Geany autocomplete can already be disabled to allow the Autoclose plugin freedom to do its thing the improvements could be made in either.  You should do whichever you find easiest, its more important that the improvements actually happen than where.  

If made in the plugin they can always be moved into Geany later if they are found to be better and would likely be more easily accepted if they had been in use for a while without major issues.  But I don't actually care so long as the improvements are actual improvements, not just a reshuffling of which situations are right and which are wrong.  That would just be annoying change.

Autoclose is difficult to do right, as the example suggestions of possible improvements stolen from Eclipse that I gave above show, they are improvements IMO but still often get it wrong.  Thats another point, that preferred autoclose behaviour is also part personal preference.  And can vary between languages.

I suspect Geany built in autoclose is popular (as best we can tell) because it does the least it can, and is deterministic, and individual options to disable each bracket type make it controllable.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2943#issuecomment-960493754
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20211103/7a298bb4/attachment-0001.htm>


More information about the Github-comments mailing list