alexkrechik / VSCucumberAutoComplete

Cucumber (Gherkin) Full Support Extension for VSCode
https://marketplace.visualstudio.com/items?itemName=alexkrechik.cucumberautocomplete
MIT License
331 stars 82 forks source link

Format Document broken #218

Closed johnknoop closed 6 years ago

johnknoop commented 6 years ago

[removed gif]

I've tried with different indentation settings (spaces and tabs) and I get the same, weird result regardless.

johnknoop commented 6 years ago

Also, the "cucumberautocomplete.onTypeFormat": true setting doesn't seem to do anything. I don't get any reformatting when typing.

alexkrechik commented 6 years ago

Looks like you should look into cucumberautocomplete.formatConfOverride option to create formatting for non-English words (due to only English words are supported by default).

johnknoop commented 6 years ago

It seems to recognize non-english words for coloring though?

alexkrechik commented 6 years ago

Coloring and formatting are totally different functions. Most of the languages should be supported by coloring, but, actually, all the non-english words should be provided in format conf override to get it working.

johnknoop commented 6 years ago

Thanks!