Use keyLoc
and valueLoc
for value definition diagnostic
#248
Labels
enhancement
New feature or request
feature
Issue that implements a new feature.
refactor
Issue that refactors part of the existing code.
The pull request #212 implemented a new
stimulus.controller.value_definition.unknown_type
diagnostic. Though, all diagnostics related to value definitions were targeting the wholestatic values
values section for the diagnostic range.Thanks to @nachiket87 we were able to add
keyLoc
andvalueLoc
toValueDefintion
in marcoroth/stimulus-parser#102 which was released in[email protected]
.We should now update the all the value definition diagnostics the Stimulus LSP has to use the newly added
keyLoc
andvalueLoc
properties to make the diagnostic ranges more accurate.The text was updated successfully, but these errors were encountered: