Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-complete #20

Open
joaoclineu opened this issue Feb 7, 2013 · 10 comments
Open

Auto-complete #20

joaoclineu opened this issue Feb 7, 2013 · 10 comments
Labels
Issue A defect or bug which renders one or more features unusable under certain circumstances Stale Probably not relevant anymore and to be closed

Comments

@joaoclineu
Copy link

joaoclineu commented Feb 7, 2013

I can not use the Auto-Complete in midsentence ...

example:
                      Giv + Ctrl + Space
I click + Ctrl + Space

@lucasfpfgomes
Copy link

I´m having the same issue :P .

@rlogiacco
Copy link
Owner

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?

@erbett
Copy link

erbett commented Feb 21, 2013

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

@JasonSmiley
Copy link

I agree, that is what Intellije does - should match this!

Jason Smiley - Senior QA Engineer
[email protected]

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.

@rlogiacco
Copy link
Owner

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?

@JasonSmiley
Copy link

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
[email protected]

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.

@mlasram
Copy link

mlasram commented May 9, 2017

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 !

@github-actions
Copy link

This issue has not been updated for a while: marking it as stale.

@github-actions github-actions bot added the Stale Probably not relevant anymore and to be closed label May 29, 2020
@drkstr101
Copy link
Contributor

Flagging for review in next.

@rlogiacco rlogiacco removed the Stale Probably not relevant anymore and to be closed label May 30, 2020
@github-actions
Copy link

This issue has not been updated for a while: marking it as stale.

@github-actions github-actions bot added the Stale Probably not relevant anymore and to be closed label Jul 30, 2020
@github-actions github-actions bot closed this as completed Aug 6, 2020
@rlogiacco rlogiacco reopened this Aug 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue A defect or bug which renders one or more features unusable under certain circumstances Stale Probably not relevant anymore and to be closed
Projects
None yet
Development

No branches or pull requests

7 participants