deveroom-visualstudio
deveroom-visualstudio copied to clipboard
Highlighting positioning is wrong if additional blanks after initial keyword
We have found an issue with the Deveroom extension that results in syntax highlighting of binding parameters to be shifted if there is more than one blank after the initial keyword ("When"/"Then"/"And" etc.).
In the following screenshot, the highlighting of "Ok" is shifted to the left by two characters (highlighting the blank and beginning quotes before the Ok) due to two additional blanks after "And", while the highlighting of "tutorial" is shifted by one character due to one additional blank after "Then":
When removing the additional blanks after "And" and "Then", highlighting looks as expected:
If we have there is one additional blank after the "And" in the first line (so two in total), the highlighting on "Ok" is shifted by one character:
This effect can be observed in all our Gherkin files on all developers' machines. It is also not a new effect - we have seen it for quite some time.
Software info: Visual Studio 2019, Version 16.11.8 Deveroom for Specflow, Version 1.6.3