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

ctrl click on gd script's extends relative path will show unnecessary bug reports #64620

Open
EXSPIRAVIT1104OFFICIAL opened this issue Aug 19, 2022 · 0 comments

Comments

@EXSPIRAVIT1104OFFICIAL
Copy link

EXSPIRAVIT1104OFFICIAL commented Aug 19, 2022

Godot version

v3.5.stable.official [991bb6a]

System information

Windows 10, Vulkan, NVIDIA GeForce RTX 3050 Laptop GPU

Issue description

When I try to extend a gd script by using the relative path because both scripts are in one folder. The function of ctrl and click works fine but it will report some bugs that aren't necessary :
built-in:2 - Parse Error: Invalid "extends" syntax, expected string constant (path) and/or identifier (parent class).
Resource file not found: res://systems/main.

This isn't a big problem but I think the bug report here is not needed. Also, the 'Resource file not found: res://systems/main.' line shouldn't be there because there is the main.gd file at that path and the path doesn't end with a .gd suffix is a little bit weird. If the relative path could work in extends, then it shouldn't be an error showing when I ctrl-click and jump to its extended gd script file, telling the user that it is a syntax error.

Steps to reproduce

create a gd script
create another gd script in the same folder and extends it by putting only the file name of the script
ctrl-click on the path
image

Minimal reproduction project

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants