Steps to reproduce
- Enable autopair bracket editor feature
- Type 2 equal signs
- There should be 4 equal signs when you type 2
- The cursor should be in the middle (in b/w 2nd and 3rd equal signs)
- When you type 1 equal sign, a second one appears
- The cursor is in b/w the 2 equal signs
The current implementation does nothing useful: it is not intuitive (does not follow the pattern of other autocomplete b/c highlight takes 2, not 1, equal sign, so it should only trigger with 2 equal signs), it misplaces the cursor, and it does not create enough equal signs.
I was going to write the same thing. Also not working on windows 0.7.6 (no CCS).
I work fine for me when typing one “=”, but does not work when i type “==”
Workaround for now: use the custom hotkey or select the text first and type
Thank you for this. It’s not that urgent; it’s more of an annoyance b/c I often type = (a single equal sign) when writing notes so it’s just a hassle to delete the extra equal sign.
Understood! Just want to make sure you guys are aware of the workaround (you probably do already ) while being annoyed by this bug.
Also if you don’t care too much about pairing
_, you can disable “Auto pair Markdown syntax” in Settings - Editor.
I just noticed this bug as well. I was typing stuff like x = 7, y = 5, and it gives me two equal signs every time i even type it… quite annoying and makes it unusable really.
I think its kind of urgent because it makes the editor look like some bug-ridden mess… usually these types of bugs are caught by automated testing. Im assuming there isnt one for Obsidian.
We have removed autopair for
= in 0.7.7.
It’ll be added back when it works properly.
I noticed that this exactly problem is also happening with the “*”