[squeak-dev] Merge Request: autoEncloseBeforeSpace.cs

Thiede, Christoph Christoph.Thiede at student.hpi.uni-potsdam.de
Thu Nov 4 07:46:40 UTC 2021


Hi Marcel,


I am not sure whether a single preference would fit everyone's needs. For my own needs, the new mode alone would suffice, too. :-)


Best,

Christoph

________________________________
Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von Taeumel, Marcel
Gesendet: Donnerstag, 4. November 2021 08:22:45
An: squeak-dev
Betreff: Re: [squeak-dev] Merge Request: autoEncloseBeforeSpace.cs

So, you would make it an extra preference instead of fine-tuning the existing one? Hmm... sounds good to me.

Best,
Marcel

Am 01.11.2021 22:16:58 schrieb christoph.thiede at student.hpi.uni-potsdam.de <christoph.thiede at student.hpi.uni-potsdam.de>:

Hi all!

This changeset refines the existing autoEnclose mechanism. Instead of having inserted enclosing brackets always, you can now activate a new preference to only insert these characters if there is any space after the cursor. This matches VS Code's setting value "beforeWhitespace" for "editor.autoClosingBrackets".

To me, this mode feels much more convenient because when having traditional autoEnclose enabled, I have been getting angry again and again when I wanted to bracketize an existing expression in some code and suddenly was disrupted by an unneeded closing bracket.

The changeset does not manipulate any defaults. The PreferenceWizard and the ReleaseBuilder are updated, too. Please honor the postscript of the changeset when merging it.

Best,
Christoph

---
Sent from Squeak Inbox Talk<https://github.com/hpi-swa-lab/squeak-inbox-talk>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20211104/fff33a2a/attachment.html>


More information about the Squeak-dev mailing list