Bug 578213

Summary: Highlight zero-width whitespace characters (U+200B)
Product: [Eclipse Project] Platform Reporter: Yan Vinogradov <yan>
Component: TextAssignee: Platform-Text-Inbox <platform-text-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: ma.becker
Version: 4.23   
Target Milestone: ---   
Hardware: PC   
OS: Windows 10   
See Also: https://github.com/eclipse-platform/eclipse.platform.ui/issues/1002
Whiteboard:

Description Yan Vinogradov CLA 2022-01-14 04:37:15 EST
There's already an existing feature for showing whitespace characters, such as spaces, tabs, line breaks, etc.

Unfortunately, this list does not include zero-width whitespace characters (\u200b), which can't be usually seen. If a code contains such characters, it may be hard to determine the cause.

I propose adding a new configuration option for configuring the visibility of zero-width whitespaces under the General -> Editors -> Text Editors -> Show whitespace characters -> Configure visibility. A replacement character would be \u2588.
Comment 1 Matthias Becker CLA 2023-08-11 02:00:24 EDT
See also https://github.com/eclipse-platform/eclipse.platform.ui/issues/1002