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

Formatting configuration #118

Open
onthespotqa opened this issue Oct 20, 2022 · 8 comments
Open

Formatting configuration #118

onthespotqa opened this issue Oct 20, 2022 · 8 comments
Labels
⚡ enhancement Request for new functionality

Comments

@onthespotqa
Copy link

🤔 What's the problem you're trying to solve?

We were previously using the Gherkin Full Support vscode plugin. This plugin had settings that allowed you to override the default formatting.

✨ What's your proposed solution?

possibly adding a setting that allows for overriding the default formatting.

⛏ Have you considered any alternatives or workarounds?

Don't know of anything.

📚 Any additional context?

The one formatting thing we really cared about was indentation of the 'And' keyword. As it made things a bit more readable.

@zjl-me
Copy link

zjl-me commented Apr 18, 2023

I think it's necessary
The default formatting always removes my line comments ("#")

@VasilySazonenko
Copy link

in version 1.8 you almost resolved issue with deleting comments, but it still deletes last comments if comments are last lines in .feature file 👎

@kieran-ryan
Copy link
Sponsor Member

@VasilySazonenko, deletion of trailing comments is resolved by cucumber/gherkin-utils#38 and will be available following a gherkin-utils release of merged changes and thereafter of a Visual Studio Code extension release.

@kieran-ryan kieran-ryan added the ⚡ enhancement Request for new functionality label Dec 3, 2023
@kieran-ryan kieran-ryan changed the title Override Formatting Formatting configuration Dec 30, 2023
@Vic152
Copy link

Vic152 commented Jan 11, 2024

How do you get version 1.8? I can only see 1.7 on Marketplace in VS code? Is there workaround?

@VasilySazonenko
Copy link

VasilySazonenko commented Jan 11, 2024 via email

@VasilySazonenko
Copy link

VasilySazonenko commented Jan 11, 2024 via email

@Vic152
Copy link

Vic152 commented Jan 11, 2024

Sorry guys, tiny bit off topic. When the 1.8 is going to hit the marketplace?

@kieran-ryan
Copy link
Sponsor Member

Sorry guys, tiny bit off topic. When the 1.8 is going to hit the marketplace?

@Vic152, thanks for your comment - delighted to say is now released

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚡ enhancement Request for new functionality
Projects
None yet
Development

No branches or pull requests

5 participants