Assumption is that while integrating the Language Service with the Monaco editor, it was observed that errors were being classified as 'hint' and warnings as 'info'; and thus a mitigation was to cast all severity levels to Monaco 'error' severity levels.
This change rectifies the issue by mapping intended severity levels of the language service (LSP levels) to those of the Monaco editor API.
Improves distinction between gherkin syntax errors and undefined step warnings.
π·οΈ What kind of change is this?
:bug: Bug fix (non-breaking change which fixes a defect)
π€ What's changed?
β‘οΈ What's your motivation?
The Cucumber Language Service uses Language Server Protocol (LSP) diagnostic severity levels. These enums differ from the same diagnostic severity levels represented by the Monaco editor API.
Assumption is that while integrating the Language Service with the Monaco editor, it was observed that errors were being classified as 'hint' and warnings as 'info'; and thus a mitigation was to cast all severity levels to Monaco 'error' severity levels.
This change rectifies the issue by mapping intended severity levels of the language service (LSP levels) to those of the Monaco editor API.
Improves distinction between gherkin syntax errors and undefined step warnings.
π·οΈ What kind of change is this?
π Checklist: