-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
Issues with undefined steps on Windows #78
Issues with undefined steps on Windows #78
Comments
Hi @Kevin-Irias-vectorsolutions - are you able to share the VSCode output logs for "Cucumber Language Server"? |
@aslakhellesoy this is the content i see in the output after performing the Go to definition in a Given line inside a .feature file, also at that point it doesn't highlight the whole line for the step name at all. Also from the server logs i notice that the quantity of features and steps seem to be correct.
|
Hi, I'm also seeing this issue with the following configuration for my Java / Maven project. I'm using the default settings provided by the plugin.
The highlighting in the feature editor works correctly as does the problems window. However, when navigating from the feature file to the step definitions I also get an error page where the editor path has suffixed a slash to the end This also appears to affect the quick fix functionality for creating the step definitions too. No step def is created. |
Thanks - I'll be able to look into this when I find time to set up a Windows VM on my Mac. I could use some help from people who are already using Windows... |
@aslakhellesoy Do you know when this issue is going to be fixed? |
@rbelando I don't know. All I can say I'm probably not going to fix it until August/Sept, but anyone else is free to submit a fix. |
@aslakhellesoy No issues. I've created a PR that fixes the problem. |
Fix Windows uri. Fixes cucumber/vscode#78, cucumber/vscode#82, cucumb…
👓 What did you see?
If i have an undefined step using When or Given, and then select the "Define in filepath..." option, when i click that contextual menu option, nothing happens. Also when trying to use the autocomplete, it is not displaying suggestions accordingly. Go to definition doesn;t work as well.
✅ What did you expect to see?
It should add for example a When or Given block to that file and should highlight and navigate correctly to definitions
📦 Which tool/library version are you using?
Typescript 4.x, using cucumber 7.3.1
🔬 How could we reproduce it?
Steps to reproduce the behavior:
"cucumber.glue": [ "steps/**/*.ts", ],
--> features/e2e/.feature
--> steps/e2e/.ts'
The path that is referencing looks like "\\e:**\steps\e2e\login.steps.ts\", and it is being treated by vs code as a directory
📚 Any additional context?
This is the folder structure being used for features and steps being in the root of the project
This text was originally generated from a template, then edited by hand. You can modify the template here.
The text was updated successfully, but these errors were encountered: