[squeak-dev] Merge Request: autoEncloseBeforeSpace.cs
m at jaromir.net
m at jaromir.net
Thu Nov 4 08:46:28 UTC 2021
Hi Christoph,
> ... 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.
>
I like it, same frustration here, however there's a preference "Enclose selection with brackets" to cover this scenario. Nevertheless I often enter the closing bracket first - when I realize I need brackets, and then the frustration comes when adding the opening bracket :)
Thanks,
^[^ Jaromir
---
Sent from Squeak Inbox Talk
On 2021-11-01T22:09:46+01:00, christoph.thiede at student.hpi.uni-potsdam.de wrote:
> 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
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20211101/4e337f68/attachment.html>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: autoEncloseBeforeSpace.2.cs
> Type: application/octet-stream
> Size: 13012 bytes
> Desc: not available
> URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20211101/4e337f68/attachment.obj>
>
>
More information about the Squeak-dev
mailing list
|