How to disable formatting of Gherkin tags in Rider?

Hey,

during the setting of Code Style rules on the project I faced an issue with the formatting of Gherking tags.

I'd like to have them placed in one line, but after applying Reformat Code tags are placed in a column, one under the other. It doesn't suit me, I'd like to keep them in one line after applying Reformat Code.

I didn't find any option in Code Style setting to disable it and keep them in one line. I will be grateful if someone can help.

0
4 comments

Hello,

So far, I have failed to reproduce this behavior. Do you have any Gherkin-related plugins enabled, other than the JetBrains Gherkin plugin? In Preferences | Editor | Code Cleanup, what settings do you have in the Code Cleanup profile that you apply to get this result? Can you please provide a screencast of your actions that lead to the indicated behavior?

Thank you in advance.

0

Hi! Thank you for your response!

Yes, I missed mentioning, I'm using SpecFlow for Rider plugin as we use C# + SpecFlow on the project.

I tried to disable SpecFlow plugin and installed Gherkin plugin for Cucumber and I didn't see such an issue.

Screencast link: https://watch.screencastify.com/v/NqTMd5MQ6nncrMuE3Ptw

0

Hello,

Yes, I can reproduce the same behavior once the SpecFlow for Rider plugin is installed. Since this plugin is provided by a third party developer, the best way here would be to raise an issue in their GitHub issue tracker

0

Hello,

Thanks for your attention and response. I've created an issue request in Issue Tracker

0

Please sign in to leave a comment.