Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
rails / cucumber auto-completion
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Lachlan Deck  
View profile  
 More options Sep 27 2011, 7:27 pm
From: Lachlan Deck <lachlan.d...@gmail.com>
Date: Wed, 28 Sep 2011 09:27:02 +1000
Local: Tues, Sep 27 2011 7:27 pm
Subject: rails / cucumber auto-completion
Hi all,

quite new to using emacs for rails dev... but was wondering what suggestions people had for getting cucumber auto-completion working?

i.e., project layout of:
app
<...>
features/*.feature
features/step_definitions/*.rb

Thanks!

Lachlan Deck


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Aleksandar Simic  
View profile  
 More options Sep 28 2011, 5:37 am
From: Aleksandar Simic <asi...@gmail.com>
Date: Wed, 28 Sep 2011 10:37:47 +0100
Local: Wed, Sep 28 2011 5:37 am
Subject: Re: [rails-on-emacs] rails / cucumber auto-completion

On Wed, Sep 28, 2011 at 12:27 AM, Lachlan Deck <lachlan.d...@gmail.com>wrote:

> quite new to using emacs for rails dev... but was wondering what
> suggestions people had for getting cucumber auto-completion working?

> i.e., project layout of:
> app
> <...>
> features/*.feature
> features/step_definitions/*.rb

Hello Lachlan,

I had something going, based on the existing examples for testunit/rspec as
well as model/view/controller.

However, there's a problem,  for example a particular model will have a
corresponding view/controller so you know what to jump to. But cucumber
features won't always be named  in a obvious fashion which "links" them to a
particular controller/view/model... so that you know what file *exactly* to
jump to.

See the rinari-jump-schema variable and based on that you can create your
own "jumps".

But I'm not sure how useful it would be over just using plain ido access to
the feature and step files.

I've outlined here how you could do the jumps from feature files:

https://gist.github.com/1247477

See if it helps,
Aleksandar


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »