Skip to content
Commit e44f2fe7 authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

lspInlayHints: Fix issues with servers not honoring requested range

Dart-analyzer always send inlay hints for the full document even if we
just asked it for one line. This slightly messes up our cache in some
scenarios.

Example: you explicitly specify the type of a variable. The
new inlayHints sent by the server will not have the inlayHint that
was showing the variable type because now we explicitly wrote it in the
code. However, our cache updates in a way that it will merge the
incoming hints into current ones and we will end up keeping the
inlayHint that is no longer valid
parent 668f3067
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment