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

Intellisense on my custom class don't work when I assign a node to a variable of this class #78860

Closed
Paprikatto opened this issue Jun 29, 2023 · 2 comments · Fixed by #85224
Closed

Comments

@Paprikatto
Copy link

Godot version

4.0.3

System information

Windows 10

Issue description

So the issue is that when i assign a node to variable of class i created the intellisense is gone

b
it should show the init and input function as on the screenshot before
c
this bug also appears when i assign node in ready function like this
d

Steps to reproduce

  1. Create a class with a class_name and function or variable inside
  2. In any other script (that is attached to any node) create variable of class from first step (for example "var x: MyClassName" )
  3. Create child node and attach to it script created in first step
  4. In any function of parent script write "x." (and write at list first letter of the function inside this class) and it should show function or variable in a list
  5. Now after "var x: MyClassName" add "= $node_name"
  6. Now when you write "x." in script it won't show a function or variable you created

Minimal reproduction project

N/A

@kaofelix

This comment was marked as off-topic.

@HolonProduction
Copy link
Member

@kaofelix your issue is tracked in #74888. Could you mark your comment as off topic?

The original issue consists of two problems:

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.

5 participants