Unverified Commit 7d3954a6 by Rémi Verschelde Committed by GitHub

Merge pull request #36138 from GodotExplorer/fix-vscode1.42-hover-4.0

Fix hover symbol content position
parents 49eef118 03d2d010
......@@ -321,6 +321,8 @@ Variant GDScriptTextDocument::hover(const Dictionary &p_params) {
lsp::Hover hover;
hover.contents = symbol->render();
hover.range.start = params.position;
hover.range.end = params.position;
return hover.to_json();
} else if (GDScriptLanguageProtocol::get_singleton()->is_smart_resolve_enabled()) {
......
Markdown is supported
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