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

Autocompletion doesn't work in feature files for gherkin #246

Closed
davidreedme opened this issue Feb 12, 2019 · 4 comments
Closed

Autocompletion doesn't work in feature files for gherkin #246

davidreedme opened this issue Feb 12, 2019 · 4 comments

Comments

@davidreedme
Copy link

I don't see a project for the Eclipse QAF Editors plugins. If there's a better place to drop an issue, please point me at it.

QAF Version

2.1.4

QAF Editors Plugin Version

1.0.0.4--cKe8k67E7AUAEEEAI7Y

Eclipse version

Eclipse Java EE IDE for Web Developers.
Version: Oxygen.3a Release (4.7.3a)
Build id: 20180405-1200

Steps To Reproduce

1. Clone a new project
2. Add a feature file
3. Add a scenario and given
4. Then... no suggestions of built-in or custom steps

Expected behavior

* Syntax completion for built-in or custom steps

Actual behavior

* No syntax completion at all. Syntax highlighting/coloration works.

Is the issue reproducible on runner?

n/a

Test case sample

Please, share the test case (as small as possible) which shows the issue
@@Account_Services_Example @#11111 @769900 @meandyou
Scenario: Ensure the functionality of the account services widget
Given I have a widget and I signed into my account
Then

@cjayswal
Copy link
Member

cjayswal commented Feb 12, 2019 via email

@davidreedme
Copy link
Author

I verified that ^SPACE (CTRL+SPACE) is bound to content assist in Eclipse, but that combo does nothing inside a feature file when pressed. Neither does CTRL+SHIFT+SPACE for context info.

I don't see a preference for anything QAF to turn it on or off. Removing the plugins, restarting Eclipse, and reinstalling has no effect.

I've been on a Mac full-time for the past year, so I haven't tried this on other platforms recently. I have verified that it's not working for other folks on Mac as well.

@cjayswal
Copy link
Member

cjayswal commented Feb 12, 2019

I tried with Eclipse Oxygen.3a Release (4.7.3a) on Mac and it worked for me.
screen shot 2019-02-12 at 10 57 45 am

I observed that if i remove feature line it's showing error feature is missing at line 1 and not showing content assist. Make sure editor is not showing any error.

Try below:

Feature: feature name

@Account_Services_Example @#11111 @769900 @meandyou
Scenario: Ensure the functionality of the account services widget
Given I have a widget and I signed into my account
Then

@davidreedme
Copy link
Author

davidreedme commented Feb 12, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants