langium icon indicating copy to clipboard operation
langium copied to clipboard

Code actions: use data instead of code to identify diagnostic type

Open spoenemann opened this issue 3 years ago • 1 comments

The code property of diagnostics is shown in the UI. As we use that only programmatically to identify which code actions we should apply to a diagnostic, we should change to another property, for example data.

spoenemann avatar Jun 22 '22 08:06 spoenemann

See discussion in https://github.com/langium/langium/pull/543#discussion_r901457437

spoenemann avatar Jun 22 '22 08:06 spoenemann