danielfrey / sublime-cucumber-step-finder Goto Github PK
View Code? Open in Web Editor NEWA plugin for sublime providing easy navigation to steps in Cucumber (http://cukes.info)
A plugin for sublime providing easy navigation to steps in Cucumber (http://cukes.info)
When changing
"cucumber_features_path" : "features",
to something different, on the configuration, anything, it just stops working
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.)
ST3, OSX 10.10 (Yosemite)
I attempted to install this package through package manager and it doesn't work.
What's going on?
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)
The behaviour of Opening a match in a new pane had been added via this commit
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.
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
{ "keys": [ "ctrl+r" ], "command": "cucumber_step_finder", "context":
[
{ "key": "selector", "operator": "equal", "operand": "text.gherkin.feature" }
]
},
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.
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 ?
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.
When /^(I|".*") removes? question$/
is present in the listI remove question
I think cucumber_step_finder should support regexes
Super+MouseClick is used to add a new cursor in the clicked position. Alt+Click isn't tied to anything by default for OSX users as far as I know.
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
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
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
See discussion in sublime text forum
While this plugin was installed, i was not able to alt+click+drag in the editor. I use Sublime Text 3 on Mac OSX 10.10
Let me know if you need further informations in order to debug this.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.