You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you don't restart LSP after defining the class name A1 with class_name, B2.gd will prompt Could not find type in the current scope. This doesn't affect running in the Godot editor, but it will display a red wavy line in VSCode.
Steps to reproduce
A1.gd
class_nameA1# other code
...
B2.gd
...
# other codevara1: A1=A1.new()
# other code
...
The text was updated successfully, but these errors were encountered:
Please use the search function. This a very old, very known issue with the language server not properly refreshing itself. This extension has nothing to do with it and it cannot be fixed here.
Godot version
v4.4.beta (4ce466d7f)
VS Code version
1.96.4
Godot Tools VS Code extension version
2.3.0
System information
Windows 11
Issue description
If you don't restart LSP after defining the class name
A1
withclass_name
,B2.gd
will promptCould not find type in the current scope.
This doesn't affect running in the Godot editor, but it will display a red wavy line in VSCode.Steps to reproduce
A1.gd
B2.gd
The text was updated successfully, but these errors were encountered: