-
Notifications
You must be signed in to change notification settings - Fork 18
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
Install instructions and how "Create Step" works #6
Comments
I'll second to this: it is a bit unclear |
So the Cucumber and Gherkin plugins that come with Rider are written for the Java part of Rider (it come with IntelliJ idea). The problem comes from the fact that SpecFlow needs to interact with C# code (and maybe F# ?) and to do this the parser/lexer and highlighting of gherkin needed to be written in the Reshaper part of the plugin. At this point, I get a conflict that I did not found how to resolve yet: Which plugin is responsible for handling I'll try to dig into it to find a way to detect the project style in which the That's why for now there is a popup at startup that ask to disable Gherkin / CucumberJS plugin.
Could you share me a project sample so I can reproduce ? "Create Step" should provide you with a list of class tagged with
It should be automatic, again, a sample of code could help me found what is the problem. Do you use the Regular expressions in attributes rules ? other one are not yet supported, I plan to add them soon.
Thanks for the feedback |
This is the repo I'm working on. The |
Ok I've found the problem, can you test this version https://github.com/Socolin/resharper-specflow/actions/runs/527924166 (once the build is completed, see the artifacts at the end, see this on how to manually install the plugin) |
Ok, later I'll take a look at it and let you know. |
I forgot to mention, you should be able to re enable Gherkin and Cucumber JS too |
The result is that there is no syntax highlight for I tried the following combinations:
I reiterated the combinations above with the plugin you suggested above, and the newly published one at Jetbrains side. It seems I'm extremely clumsy today. |
I'll give it a try again. Yup, there is no sytax highlight at all. I'll check it later today. |
You are not gonna believe it what was the problem. But it shows a valid usecase too. Can I suggest that if the color scheme is not the official then the plugins' syntax highlight falls back to a selectable default color scheme? I personally don't like Riders default stuff. I got used to Resharper in VS and I like it. Right now the plugin works Click on |
Ok, just to be sure, all other problems are fixed except for the color scheme ? I'll take a look on how the theme is working to see if there is a solution :) |
So I took a look woth the It's doing this for other theme So I suspect there is a problem with this theme. I'm going to ask about this. For now you can check the checkbox on each line and you should be good. |
I can create Steps, however I found an inconvience, but I'll report it in a separate issue because this issue is a mess now. Is file formatting and intellisense provided by this plugin? If yes, they still don't work.
Thank you and sorry for being a pain. :) |
About theme issue, I reported the problem to jetbrains and it seems there is a strange bug, so it seems to be on their side.
I plan for those soon, You can subsribe to those issues
No problem :) |
Hi,
Thanks for creating this plugin. Honestly, being able to navigate between scenarios and step definitions is a great promise. Right now it is a huge PITA.
It is not clear how to install and start using this plugin. Rider comes with Gherkin and Cucumber plugins bundled and enabled. So, kind of one can progress with Rider. If I install this plugin then I'll get a conflict message and RIder says I have to disable either Gherkin or Specflow support. But, the fact is that both is needed to have the syntax highlight and the services your plugin provides. (Or it is not clear what is the right setup) I'm sure I'm not going to be only one being puzzled here.
The other is how "Create Step" works? When I open a feature file it offers "Create step" but no instructions what can happen.
Any chance this plugin can discover connections between already existing feature files and StepDefinitions?
Again, thanks for your work!
The text was updated successfully, but these errors were encountered: