Ericsson / CodecheckerVSCodePlugin

VSCode plugin that shows bugs detected by the Clang Static Analyzer and Clang Tidy analyzers using CodeChecker as a backend.
Apache License 2.0
24 stars 7 forks source link

Better range positions for reports #96

Closed csordasmarton closed 2 years ago

csordasmarton commented 2 years ago

Closes #16

A TextDocument has a method to get word range at a given position called getWordRangeAtPosition. If no range information is available for a report we can use this method to get word position at the given line + column position.