vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Formatting configuration

Open onthespotqa opened this issue 3 years ago • 8 comments

🤔 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.

onthespotqa avatar Oct 20 '22 01:10 onthespotqa

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

zjl-me avatar Apr 18 '23 16:04 zjl-me

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 👎

VasilySazonenko avatar Nov 09 '23 07:11 VasilySazonenko

@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 avatar Nov 09 '23 20:11 kieran-ryan

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

Vic152 avatar Jan 11 '24 14:01 Vic152

you can download it from official cucumber git and install manually https://github.com/cucumber/vscode

чт, 11 янв. 2024 г. в 16:25, Vic @.***>:

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

— Reply to this email directly, view it on GitHub https://github.com/cucumber/vscode/issues/118#issuecomment-1887297112, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4G3YCOSUXABDHL6SACHOXTYN7Y6LAVCNFSM6AAAAAARJU3QO2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBXGI4TOMJRGI . You are receiving this because you were mentioned.Message ID: @.***>

-- *Best Regards, * Sazonenko Vasily.

VasilySazonenko avatar Jan 11 '24 14:01 VasilySazonenko

but you need latest version of vscode as well

чт, 11 янв. 2024 г. в 16:28, Sazonenko Vasily @.***>:

you can download it from official cucumber git and install manually https://github.com/cucumber/vscode

чт, 11 янв. 2024 г. в 16:25, Vic @.***>:

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

— Reply to this email directly, view it on GitHub https://github.com/cucumber/vscode/issues/118#issuecomment-1887297112, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4G3YCOSUXABDHL6SACHOXTYN7Y6LAVCNFSM6AAAAAARJU3QO2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBXGI4TOMJRGI . You are receiving this because you were mentioned.Message ID: @.***>

-- *Best Regards, * Sazonenko Vasily.

-- *Best Regards, * Sazonenko Vasily.

VasilySazonenko avatar Jan 11 '24 14:01 VasilySazonenko

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

Vic152 avatar Jan 11 '24 16:01 Vic152

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

kieran-ryan avatar Jan 14 '24 16:01 kieran-ryan