Git Product home page Git Product logo

sublime-cucumber-step-finder's People

Contributors

abotalov avatar danielfrey avatar gudata avatar shahin70000 avatar tnypxl avatar tra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

sublime-cucumber-step-finder's Issues

What is the config file name?

Cucumber Step Finder installs successfully via Package Control but where and what is the exact config file?

(If this is an exceedingly childish question, forgive me, I am quite new to writing code.)

Doesn't install on ST3 through package manager

ST3, OSX 10.10 (Yosemite)
I attempted to install this package through package manager and it doesn't work.

  1. Installed ST3 through package manager
  2. Attempt Super + y to search cucumber steps, nothing happens, nothing in console
  3. Attempt ctrl + super + m to match a step definition, nothing happens, nothing in console
  4. Attempt restart and retry steps 2 + 3, nothing happens.
  5. Try to find package settings under Sublime Text -> Preferences -> Package settings, nothing there references cucumber step finder.

What's going on?

Doesn't work with Sublime Text 2 + Windows 7

Both Key bindings and Menu Options 'Find > Find Cucumber Step' & 'Find > Match Cucumber Step' don't do anything on Windows 7 using Sublime Text 2.

Windows 7 Professional 64-bit (6.1, Build 7601)

Add Open in New Pane setting

The behaviour of Opening a match in a new pane had been added via this commit

87b85c4

Please consider making this a setting as the previous implementation better suited my work style and perhaps for some other devs as well who prefer to work in a single pane mode.

cucumber-jvm support

At work I use cucumber-jvm. When I try to modify the settings in CucumberStepFinder.sublime-settings to support finding steps, I don't get any at all.
"cucumber_step_pattern" : "StepDefs.java",

There probably is a syntax that can fix that but haven't found it yet.

Thanks

Sub-subfolder support

Hi there,

I have a sublime project open with multiple apps, each one is a separate rails application. I'd love to get this plugin working for sub-sub folders, if possible. After looking at the code, I can see that it only iterates through window.folders() which I assume must be the top level folders. Is there any way to recurse one level deep or apply any other sort of matching? I'd like to be able to setup the cucumber_features_path to be something like app1/features for instance -- if that's possible.

For now I sort of got around it by setting the features path to App1 and letting it churn away through all my files. It's slow, but it does appear to work.

sre_constants.error: multiple repeat

When I'm using the shortcut CTRL + CMD + M in order to go to the step definition I have the following error:

Traceback (most recent call last):
  File "./sublime_plugin.py", line 339, in run_
  File "./cucumber_step_finder.py", line 61, in run
  File "./cucumber_step_finder.py", line 67, in get_line
  File "./cucumber_step_finder.py", line 82, in cut_words
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/re.py", line 190, in compile
    return _compile(pattern, flags)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/re.py", line 245, in _compile
    raise error, v # invalid expression
sre_constants.error: multiple repeat

I don't know why there is this error. Nothing to do with the python 2.6 version I am using ?

Does not work on Sublime 3, Mas OS X Mavericks

I have installed the plugin, but pressing ctrl + y (or any other keyboard shortcut) does not perform anything. Even when i try to invoke "cucumber step finder" through Find -> Find Cucumber Step it does nothing.

Regexes aren't supported by cucumber_step_finder

  1. Invoke cucumber_step_finder (e.g. by pressing Ctrl+Y)
    --> Something like When /^(I|".*") removes? question$/ is present in the list
  2. Start typing I remove question
    --> Nothing is found
    Expected: This stepdef should be found

I think cucumber_step_finder should support regexes

Doesn't appear to find steps written with quotes

i.e. as per the cucumber wiki examples this shows up in the search:
Given /^I have (\d+) cucumbers in my belly$/ do |cukes|
end

but this does not:
Given "I have $n cucumbers in my belly" do |cukes|
end

the button override redo action

You should change the shortcut keys to execute step finder, because [command] + Y has been reserved by step redo action, try to use [command] + shift+ Y I guess

How do you configure this plugin?

Hi.

I'm using Sublime Text 3. I installed your plugin, it works well.

However, I'm used to CTags's keybinding

CTRL + CTRL + T

to jump to definition of methods.

Is it possible to use the same binding as CTags
instead of CTRL + Super + M?

How do I configure the Cucumber StepFinder plugin? I don't see any option
under Preferences -> Package Control
for this plugin.

Thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.