tomasr / viasfora

A Visual Studio Extension containing miscellaneous improvements to the editor.
Other
552 stars 89 forks source link

Rainbow brackets oddity with F# Attributes. #302

Closed realparadyne closed 2 years ago

realparadyne commented 3 years ago

Attribute brackets are in different colours. I think this occurs only after the file is processed by the F# compiler service and full colourisation is applied.

VS Version 16.8.0 Preview 6.0

image

tomasr commented 3 years ago

Are you using a font with ligatures for [< and >]?

Unfortunately, those really mess up things....

realparadyne commented 3 years ago

Well that clears it up then. Yes I do prefer coding fonts with ligatures. It appears to be the only place that looks wrong, presumably because it's the only place a character pair is used for each bracket?