Cucumber text highlighting

I am trying to get highlighting for Cucumber to work with Textmate. I already installed the Cucumber Textmate Bundle (which should turn on the backlight). I work with the Ryan Bates Railscasts theme (the description for it is in the about page ) for textmate, but for some reason In order to , As a , I want , etc. do not stand out in foobar.feature located in the folder with my functions.

He seems to be working for Ryan in his Starting with Cucumber "screencast.

Any help?

Thanks!

+4
source share
2 answers

New keywords have been added to the kit, which do not come with standard TM fonts for highlighting. You really need to install one of the themes that comes with the package. In the README section of the installation instructions: "To install color themes for syntax highlighting: click on the themes found in the color_themes directory by clicking on them in the Finder."

If you want to use the kit with the current theme, you will need to add keywords and choose the appropriate colors for your theme. You can see examples of this by installing one of the ones that comes with the kit, and then goes to "Settings → Fonts and Colors."

If you finish setting up another theme for working with the kit, please let me know so that I can include it in the kit. :)

However, after re-reading your question .. You just wonder why the description of the object is not highlighted? (The narrative is the text “In order to ...”.) If so, the highlight of this was intentionally removed. Aslak thought that this should not be emphasized, and I agreed with him, because the story should be ordinary, and everything works for you. It was also very unpleasant that they were allocated, as sometimes they also highlight sections of the script incorrectly.

+2
source

This is how the community knows that the cucumber-tmbundle is now supported by the cucumber account on github. Language for Gherkin functions. And there are new shortcuts for solving various problems.

0
source

Source: https://habr.com/ru/post/1304109/


All Articles