Grant Neufeld Language Module: Cucumber Feature files
Aug 01, 2010; 00:48
Language Module: Cucumber Feature files
I've whipped up a new language module for Feature files (used by the Cucumber code testing tool).
Available for download from: http://github.com/grantneufeld/BBEdit-Language-Modules/downloads
It covers the core keywords, treats scenarios as functions, recognizes strings with double or single quotes, and recognizes comments.
TO DO - HELP WANTED
I'm new to PCRE patterns, so couldn't quite figure out what was needed for some of the other things I would like the module to do. Advice welcome.
Specifically, I would like to treat regular expression blocks (strings wrapped in '/') as strings.
Are there any plans to add other types of chunks to the BBEdit Language Module syntax, in addition to keywords, functions, strings and comments?
There are two types of content in .feature files I would like to be able to distinguish: "| tables |" - lines that, except for whitespace, start and end with '|' and are typically divided into multiple 'cells' by more '|' characters. "@tags" - words that start with '@', and which are different from strings or keywords.
-- You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups. To post to this group, send email to firstname.lastname@example.org To unsubscribe from this group, send email to email@example.com For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a feature request or would like to report a problem, please email "firstname.lastname@example.org" rather than posting to the group.
This site manages and broadcasts several email lists pertaining to Lasso Programming and technologies related and used by Lasso developers. Sign up today!