Open joaoclineu opened 11 years ago
I´m having the same issue :P .
Sorry, the auto complete kicks in only after you complete the Given keyword (or any other step definition keyword) and if I remember correctly you must have added a space after the keyword too. I've decided to go for this choice because I found no other way to identify if it's a new step description or the continuation of the previous one as a gherkin step description can span multiple lines.
Is it a problem? Do you have any suggestion for improvement?
It would be more interesting if the auto complete feature could work always in partial sentences (although the Gherkin description allows steps spanned in multiple lines).
The most important improvement is the plugin capability locate selected words or patterns using Ctrl + Space.
Example: Giv<Ctrl+Space> Result: Given
Example: Given button<Ctrl+Space> Result (several choices): Given The button is clicked The inital button is disabled I click on "xxxxx" button
I agree, that is what Intellije does - should match this!
Jason Smiley - Senior QA Engineer jason.smiley@1stdibs.com
On Feb 21, 2013, at 10:53 AM, ehro wrote:
It would be more interesting if the auto complete feature could work always in partial sentences (although the Gherkin description allows steps spanned in multiple lines).
The most important improvement is the plugin capability locate selected words or patterns using Ctrl + Space.
Example: Giv Result: Given
Example: Given button Result (several choices): Given The button is clicked The inital button is disabled I click on "xxxxx" button
— Reply to this email directly or view it on GitHub.
I understand your request but I'm not sure it is doable: can you lend my an hand on this? Do you have any experience with ANTLR or Xtext?
I have no experience with either, but, I just purchased Intellije so I am not having this issue any more lol.
Jason Smiley - Senior QA Engineer jason.smiley@1stdibs.com
On Feb 22, 2013, at 12:48 PM, Roberto Lo Giacco wrote:
I understand your request but I'm not sure it is doable: can you lend my an hand on this? Do you have any experience with ANTLR or Xtext?
— Reply to this email directly or view it on GitHub.
Why not use proposal contains prefix instead of regionMatch in isValidProposal method. I tried this and it works. But it works only when typing Ctrl + Space and do not continue if typing. For example: I have a sentence check user is logged when I type use + Ctrl + Space the sentence is proposed, then when I type 'r' I must do Ctrl + Space to have the proposition. I don't know if it is clear for you !
This issue has not been updated for a while: marking it as stale.
This issue has not been updated for a while: marking it as stale.
I can not use the Auto-Complete in midsentence ...
example: Giv + Ctrl + Space I click + Ctrl + Space