zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
46.6k stars 2.64k forks source link

Bracket functionality #8218

Open nonrice opened 6 months ago

nonrice commented 6 months ago

Check for existing issues

Describe the feature

I think this is a common feature in other editors I have gotten used to the idea is:

(|)

Imagine the cursor is behind a closing bracket, then typing the bracket moves the cursor out of the bracket pair

()|

The current behavior sometimes works, other times it just types another bracket. Which is pretty annoying.

()|)

If applicable, add mockups / screenshots to help present your vision of the feature

No response

mimiqdev commented 5 months ago

I've seen similar broken behaviour. 2024-04-09 00 37 42

The println!() is auto completed, then typing pair of "" works good, but it seems lose the pair from auto completed ()

xzbdmw commented 3 months ago

Is there any way I can use tab to jump out of pairs?