Closed farhan5248 closed 2 months ago
Changes made but tag tests are failing when there's more than one
Updated custom lexer to fix tag issues
The keyword annotation is incorrectly Step instead of Given/When/Then
I got this working to the point of creating the feature. Basically the keyword can't be ambiguous. When creating the AST (Abstract Syntax Tree) things like keywords are automatically determined. If I set a keyword as alternatives, then the first one is always chosen, in this case Given. It's really complicated to override that if not just impossible.
I need to make proposals for all the others, like When and Then
Having this makes more work. Specifically, there's duplicate formatting and content assist code. Just have Step with multiple keywords