You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Syntax highlighting fails when using for...to inside a computation expression #2680
If you use a for...to expression inside of a computation expression, the syntax highlighting is wrong:
I'm using VS 2017 RTM with the VisualFSharpOpenSource.vsix compiled from master.
Here's the code from the screenshot:
moduleSyntaxHighlightingBug =letlist1=[for x in[0;1]doyield x ]letlist2=[for x =0to1doyield x ]letlist3=[for x =0to1doyield x.ToString()]letlist4=[for x =0to1do// commentletx= x // commentyield x // comment]letlist5=[for x =0to1do// commentletx= x.ToString()// commentyield x // comment]
Activity
vasily-kirichenko commentedon Mar 22, 2017
I can reproduce it on master
@dsyme I'm really puzzled with this. Any tips what could go wrong?
cloudRoutine commentedon Mar 22, 2017
@vasily-kirichenko
https://marketplace.visualstudio.com/items?itemName=MadsKristensen.ExtensibilityTools
adds this toolbar on the bottom
it lets you see the classifiers so that leads me to believe it's the semantic colorization function that's acting up
vasily-kirichenko commentedon Mar 22, 2017
Fixed in #2681