Closed volkanunsal closed 13 years ago
That's a Textmate bug my friend. The plugin doesn't have any code for highlighting ruby stepdefs, only gherkin.
Is it possible to emit "(.*?)" instead?
I won't make Cucumber suggest different snippets just because one editor is buggy. If the broken colours bother you you can change the regexp to anything TextMate and Cucumber understands.
Try to put a backslash in front of the 2nd slash: "([^\"])"
Or just: "(.)"
In my step definitions, the color highlighting get broken due to the second double quote in this
I copied the definition from the terminal. And when I replace the double quotes around that with single quotes to "fix" them, then cucumber complains that I haven't implemented that step yet.