alexkrechik/VSCucumberAutoComplete

Can't set multiple choice in the stepRegExSymbol parameter.

Opened this issue · 1 comments

When I try to set multiple Element in stepRegExSymbol the saving does not work.

I am using vscode, when I modify the settings.json with for example:

{
       "cucumberautocomplete.stepRegExSymbol": "\"|'''|'"
}

uppon saving it will lead to

[Error - 11:27:16 AM] Notification handler 'workspace/didChangeConfiguration' failed with message: Cannot read properties of undefined (reading 'toLowerCase')

I would like to be able to provide multiple choice with the regex since depending on my steps name I am using either ' " or '''

A related error is #441 but they seem to only need a single step symbol in this case.