Feature Suggestion: auto-completion when writing scenarios
gabrielgavasso opened this issue · 7 comments
Feature Request: As a business analyst or quality engineer, I want to have auto-completion when writing scenarios, so that I can re-use existing scenarios.
My suggestion is to do something where I can re-use the scenarios while writing the story file. The following code exports all the scenarios for HTML, and enables me to write scenarios using the existing steps. https://github.com/luizfar/jukecooker
I imagined something like this.
Auto-completion is partially implemented, you can use the crtl+space to display it in the editor.
The onyl thing that doesn't work very well is whenever there are parameters, i didn't look further to determine whether a part of text is part of the step or a parameter value.
That looks great! Probably I didn't notice that because my general unfamiliarity with Clipse. I'm getting there! It looks awesome!
By the way, great job with this plugin!
I'm using this feature now, and it looks funky sometimes. Ctrl+space sometimes doesn't work at all. Does it work in a line starting with "And"? Anyway is already being useful!
And I'm thinking now that maybe what would be useful is not the auto-completion, but a kind of search while typing.
Trying to illustrate: I want to create a "given" argument about a user feature. I want to write something like "Given user x is created". I would want to type "Given ctrl+space user" and see all the Given arguments containing the word "user", not only starting with the word "user". For instance, in this case I can see that actually the already existing Given argument is "Given the user x is created", and then I can reuse that.
The jukecooker link I sent before does that, but in an HTML file, that I have to copy/paste to Eclipse.
i'll take a look at your jukecooker link, and see how i can plug similar behavior
Please feel free to create issue with detailed use case whenever you raise an issue
Fixed in master branch
Available on next christmas 2011 release: 1.0.4