Show all hidden characters, not just whitespace
Check for existing issues
- [X] Completed
Describe the feature
Coming from TextMate with hidden characters shown, I've gotten used to characters(/sequences?) like ^O and ^P being shown when I have invisible characters shown. Having now checked the preferences and seen Zed has show_whitespace: true rather than show invisible characters, I don't think this is a bug but being able to see all invisible characters not just whitespace is useful.
Currently typing ctrl-alt-o or ctrl-alt-p (and other keys) will insert a control character into the document in Zed, but there's very little in the way of user feedback. If I'm in a git-tracked document then the gutter shows differences on the current line, and if I move left/right with the arrow keys I can see the cursor appearing to be "stuck" in place as it moves over the control characters (which are zero-width in the UI).
It would be useful to see them, ideally like TextMate produces them with the control characters shown visually, but even a text box in Safari shows an unprintable character box.
If applicable, add mockups / screenshots to help present your vision of the feature
Readme.txt:
Hello
more Readme.txt:
TextMate, showing Readme.txt:
Zed, showing Readme.txt:
Definitely need this. My current workaround is to open VSCode and paste the file in there to look for unprintables.
Yes, yes, yes yes yes Yes-yes-yes Yes-yes
Same problema here, and very frustrating, because I have the spanish keyboard layout, and when I try to get the terminal out (same shortcut than vscode ctrl-`, which leads to this char: ) it writes a hidden character onto my code and the output is very confusing (rust).
In vscode that shortcut works properly.
the users of Emacs yawned
I have a swedish keyboard and I can't really use Zed properly until this features is added. Other than that, love Zed! It's an amazing editor.
Vouch
Juts want to support the need for this!