Open Viicos opened 1 year ago
Python extension does not control this behavior. Transferring to VS Code.
Is the ask to disable font ligatures for sections identified as regex strings?
Is the ask to disable font ligatures for sections identified as regex strings?
@rzhao271 That is correct.
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!
@rzhao271 this was originally an issue on the python extension, but indeed this can be expended to other languages, e.g. JS: /(.|-|_)/
.
Other languages such as Java doesn't have any specific syntax (such as r""...
or /.../
), so I don't think they could be supported
I'm using a font with ligatures enabled, and writing regular expressions can be hard when using specific character combinations. For instance, the following:
Renders as:
That might not be specific to Python and the issue probably comes up with other languages, but using the
r
mode is specific to the language, and we could probably switch ligatures off in this mode to improve visibility?