Corey Ehmke Persist markers or extend a language module?
Nov 04, 2009; 08:47
Corey Ehmke
Persist markers or extend a language module?
I've searched the docs to no avail... perhaps someone here can provide guidance.
I use BBEdit for Rails development, and an important part of Rails development is, of course, testing. RSpec is the primary testing library for what I do, and it provides a DSL (domain-specific language) for writing test specs. The specs themselves are executable Ruby code. Here's an example:
describe 'statistics' do
before :all do thing.update_statistics end
it 'updates its popularity' do thing.popularity.should_not be_nil end
...
end
The problem is this: the function parsers for the Ruby and Rails language modules do not recognize the RSpec DSL block-level functions (e.g. 'describe', 'it', 'before', 'after', et al) so the function browser is useless here. I've got a couple of greps saved for use with Markers, but markers don't seem to save with the file. (Which is odd; after creating markers, the document state is 'dirty' as indicated by the dot in the window close control, but saving, closing, and reopening blows away the markers.)
What's the best approach here-- a feature request to persist markers on a file, creating a language module for RSpec, or...?
Best, Corey
--~--~---------~--~----~------------~-------~--~----~ 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 bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscribe@googlegroups.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 "support@barebones.com" rather than posting to the group. -~----------~----~----~----~------~----~------~--~-
Nov 04
Charlie Garrison Re: Persist markers or extend a language module?
Nov 04, 2009; 09:22
Charlie Garrison
Re: Persist markers or extend a language module?
Search
Lasso Programming
This site manages and broadcasts several email lists pertaining to Lasso Programming and technologies related and used by Lasso developers. Sign up today!