Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LSP] Inconsistent hover tool tips. #43164

Closed
linkpy opened this issue Oct 28, 2020 · 1 comment · Fixed by #47776
Closed

[LSP] Inconsistent hover tool tips. #43164

linkpy opened this issue Oct 28, 2020 · 1 comment · Fixed by #47776

Comments

@linkpy
Copy link
Contributor

linkpy commented Oct 28, 2020

Godot version:
3.2.3

OS/device including version:
Linux Mint

Issue description:

extends Node


var child: Node2D


func _ready():
	if get_child_count() > 0:
		child = get_child(0)
	
	var test := true
	print(test)
	
func _process(_dt: float) -> void:
	if child:
		var child_position: Vector2 = child.global_position
		var ang: float = atan2(child_position.y, 0)
		print(ang)

In VSCode :

  • Hovering test in print(test) gives the correct tooltip.
  • Hovering child_position in atan2(child_position.y, 0) gives no tooltip at all.
  • Hovering ang in print(ang) gives no tooltip at all.

The issue is from the LSP server. VSCode correctly requests hover information to the LSP server, which replies with nothing.
Linked with godotengine/godot-vscode-plugin#207.

Steps to reproduce:
See above

Minimal reproduction project:
/

@akien-mga
Copy link
Member

Fixed by #47338.

geekrelief pushed a commit to geekrelief/godot that referenced this issue Apr 5, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
lekoder pushed a commit to KoderaSoftwareUnlimited/godot that referenced this issue Apr 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants