Hi Is anyone here using NetBeans and story runner? NB doesn''t recognise .story files so I can''t even do simple things like block commenting lines (and the regex replace is temperamental). I tried adding .story to the list of Ruby file extensions, but then it just hides everything in the story folders (even the .rb files!). Any tips on how to get the two working together would be much appreciated. I''ve lost count of the times I''ve said "I could do this in TextMate"... Ta Ashley -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rspec-users/attachments/20080331/5319e89d/attachment.html
On Mar 31, 2008, at 7:03 AM, Ashley Moran wrote:> Hi > > Is anyone here using NetBeans and story runner? NB doesn''t > recognise .story files so I can''t even do simple things like block > commenting lines (and the regex replace is temperamental). I tried > adding .story to the list of Ruby file extensions, but then it just > hides everything in the story folders (even the .rb files!). > > Any tips on how to get the two working together would be much > appreciated. I''ve lost count of the times I''ve said "I could do > this in TextMate"...I have a stories folder with files named blah_story.rb - and NetBeans doesn''t seem any stranger with those than it usually is. SR
On 31/03/2008, Steve Rogers <srogers1 at gmail.com> wrote:> I have a stories folder with files named blah_story.rb - and NetBeans > doesn''t seem any stranger with those than it usually is.Steve, Sorry, I wasn''t clear. It''s not the my_story.rb file that''s the problem, it''s the my_story.story file (the plain text part). Ashley -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rspec-users/attachments/20080331/2ed2eeb6/attachment.html
Hi Ashley, I don''t think Netbeans has support for plain text stories yet - but I''m not certain (I was using it with frustration last night too). Probably better to ask in the netbeans forum? Cheers, tim. On 01/04/2008, Ashley Moran <ashley.moran at patchspace.co.uk> wrote:> > On 31/03/2008, Steve Rogers <srogers1 at gmail.com> wrote: > > > I have a stories folder with files named blah_story.rb - and NetBeans > > doesn''t seem any stranger with those than it usually is. > > > Steve, > > Sorry, I wasn''t clear. It''s not the my_story.rb file that''s the problem, > it''s the my_story.story file (the plain text part). > > Ashley > > > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rspec-users/attachments/20080401/ae81ceab/attachment.html
On 31 Mar 2008, at 19:27, Tim Haines wrote:> I don''t think Netbeans has support for plain text stories yet - but > I''m not certain (I was using it with frustration last night too). > Probably better to ask in the netbeans forum?Hi Tim I noticed it didn''t have any out of the box support, just wondered if anyone had hacked around that. I had a feeling it might be a bit OT for this list, but I figured there''s a higher percentage of NetBeans users here than the percentage of story runner users in the NB forums... I''ve got a way round its stupid regex bug (/^/ doesn''t match the start of a line!) so I can comment out stories semi-automatically at least. Cheers Ashley
Tim Haines wrote:> Hi Ashley, > > I don''t think Netbeans has support for plain text stories yet - but I''m > not certain (I was using it with frustration last night too). Probably > better to ask in the netbeans forum?Hi, yes, the .story extension is not supported out-of-the box. Unfortunately it is not possible to extend Ruby file-type now: http://www.netbeans.org/issues/show_bug.cgi?id=116563 But easy to fix inside of NetBeans. I''ve just fixed it on my local machine. I''ll commit in few hours. I''ve filed: http://www.netbeans.org/nonav/issues/show_bug.cgi?id=131684 Will not go into 6.1 (code-frozen), but you might grab it through the continuous builds when the issue above is marked fixed http://wiki.netbeans.org/RubyInstallation#section-RubyInstallation-HowDoIGetTheContinuousBuilds BTW is the .story extension kind of "official" one? I saw in some tutorials using .rb extension. Regards, m.
On 01/04/2008, Martin Krauskopf <Martin.Krauskopf at sun.com> wrote:> > Hi, > > yes, the .story extension is not supported out-of-the box. Unfortunately > it is not possible to extend Ruby file-type now: > > http://www.netbeans.org/issues/show_bug.cgi?id=116563 > > But easy to fix inside of NetBeans. I''ve just fixed it on my local > machine. I''ll commit in few hours.Hi Martin Sounds good. As it happens I will be working from home for a while so I get to use my MacBook instead of Ubuntu, yay :D But I''m sure I will have to use NetBeans again soon so I''ll appreciate your patch. BTW is the .story extension kind of "official" one? I saw in some> tutorials using .rb extension.Actually I''ve never been clear on this. I''d love a page on rspec.info that says This Is How You Should Name Your Files. Ashley -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rspec-users/attachments/20080407/834a4a2d/attachment.html
On Mon, Apr 7, 2008 at 11:01 AM, Ashley Moran <ashley.moran at patchspace.co.uk> wrote:> On 01/04/2008, Martin Krauskopf <Martin.Krauskopf at sun.com> wrote: > > > Hi, > > > > yes, the .story extension is not supported out-of-the box. Unfortunately > > it is not possible to extend Ruby file-type now: > > > > http://www.netbeans.org/issues/show_bug.cgi?id=116563 > > > > But easy to fix inside of NetBeans. I''ve just fixed it on my local > > machine. I''ll commit in few hours. > > > Hi Martin > > Sounds good. As it happens I will be working from home for a while so I get > to use my MacBook instead of Ubuntu, yay :D But I''m sure I will have to use > NetBeans again soon so I''ll appreciate your patch. > > > > > BTW is the .story extension kind of "official" one? I saw in some > > tutorials using .rb extension. > > Actually I''ve never been clear on this. I''d love a page on rspec.info that > says This Is How You Should Name Your Files.There''s a reason such a page does not exist. We are letting convention emerge rather than dictating it. That said, the convention that I see emerging is .rb for stories expressed in ruby and either no extension or .story for those expressed in plain text. HTH, David> > Ashley > > > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >
On 7 Apr 2008, at 20:18, David Chelimsky wrote:> That said, the convention that I see emerging is .rb for stories > expressed in ruby and either no extension or .story for those > expressed in plain text.That''s what I do - .story for the plain text file and .rb for the corresponding runner (not tried Kyle''s runner yet) Ashley -- http://www.patchspace.co.uk/ http://aviewfromafar.net/
I sent the netbeans guys a list of features for story support in netbeans. With luck they''ll make it into the next version after 6.1. Feel free to go check it out and add to the list. :-) Cheers, Tim. On 8/04/2008, at 4:55, Ashley Moran <ashley.moran at patchspace.co.uk> wrote:> > On 7 Apr 2008, at 20:18, David Chelimsky wrote: > >> That said, the convention that I see emerging is .rb for stories >> expressed in ruby and either no extension or .story for those >> expressed in plain text. > > > That''s what I do - .story for the plain text file and .rb for the > corresponding runner (not tried Kyle''s runner yet) > > Ashley > > > -- > http://www.patchspace.co.uk/ > http://aviewfromafar.net/ > > > > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users
Here''s the url - http://www.netbeans.org/issues/show_bug.cgi?id=131684 On 08/04/2008, Tim Haines <tmhaines at gmail.com> wrote:> > I sent the netbeans guys a list of features for story support in netbeans. > With luck they''ll make it into the next version after 6.1. Feel free to go > check it out and add to the list. :-) > > Cheers, > > Tim. > > On 8/04/2008, at 4:55, Ashley Moran <ashley.moran at patchspace.co.uk> wrote: > > > > On 7 Apr 2008, at 20:18, David Chelimsky wrote: > > > > That said, the convention that I see emerging is .rb for stories > > > expressed in ruby and either no extension or .story for those > > > expressed in plain text. > > > > > > > > > That''s what I do - .story for the plain text file and .rb for the > > corresponding runner (not tried Kyle''s runner yet) > > > > Ashley > > > > > > -- > > http://www.patchspace.co.uk/ > > http://aviewfromafar.net/ > > > > > > > > _______________________________________________ > > rspec-users mailing list > > rspec-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/rspec-users > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rspec-users/attachments/20080410/a0551d0c/attachment-0001.html
On 10 Apr 2008, at 02:32, Tim Haines wrote:> Here''s the url - http://www.netbeans.org/issues/show_bug.cgi?id=131684Looks good! I like this bit: priority 1b - In the project pane, allow stories to sit as the first "folder" in the list, and "rspec" as the second - both above controllers. The theory is you should write stories first, then your specs, then the app code.. Oh, and did you give "stories" a capital "S" at last? :D Ashley -- http://www.patchspace.co.uk/ http://aviewfromafar.net/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rspec-users/attachments/20080410/9e9a5dbe/attachment.html