RoamJS / workbench

https://roamjs.com/extensions/workbench
The Unlicense
286 stars 35 forks source link

Enhancement request: modify autocomplete to not add space #335

Closed cobblepot1 closed 3 years ago

cobblepot1 commented 3 years ago

When using Shift+Space to autocomplete, the process automatically adds a space after the inserted text. This messes up markdown-syntax links where the brackets are inside parentheses, so every time I use autocomplete within alias links I need to delete the space and correct the cursor position. Unfortunately, 85% of my links are alias links, so this is a problem I face dozens of times a day.

e.g. after Shift + Space I get this - [link text]([[autocomplete inserted text]] )

orkhan10 commented 3 years ago

A temporary fix, if you have Keyboard Maestro.

Screenshot 2021-02-09 at 16 24 03

cobblepot1 commented 3 years ago

Thanks, I'm on Win 10 unfortunately.

TfTHacker commented 3 years ago

What do you think if I make this a 42Setting and you can configure if the space is added or not. I am also planning to turn this feature of by default, as it seems to cause questions for users. So just requires being turned on after a clean install.

cobblepot1 commented 3 years ago

A configurable setting would be great!

cobblepot1 commented 3 years ago

Can delete, autocomplete now part of Roam core.