-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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 + Clicking on a variable no-longer takes you to that variable, when said variable is within a Global Autoload- 4.4 dev7 #100680
Comments
The problem is that Ctrl+LMB is used not only to jump to the source code, but also to open the documentation for native symbols. In the case of custom symbols, there is both documentation and source code, which causes a conflict. I think we should split the functionality into two combinations. Say, Ctrl+LMB and Alt+LMB. Or Ctrl+LMB and Ctrl+RMB. |
I see this in other scenarios, too, not just autoload globals. I can repro the MRP above the first time I open it. When I restart Godot and re-open, CTRL-click works. Need to remove .godot contents and restart for it to happen again. Possibly related: CTRL-clicking on any of my enum values does nothing.
and CTRL-clicking on the 'None' of E.Team.None does nothing. Tried 4.4dev6 and all of the above seems to work as expected. |
same is for functions it takes you to documentation instead of source code I guess you are right that it should be split |
Went to that frustration as well with the 4.4.dev7 (it changed for all scripts, not only the autoload scripts). Before hand, I was used to Ctrl+LMB to jump to the variables/functions declarations, now it opens documentation, even if I didn't create one (auto-generated documentation I guess)! I vote for customization of the shortcuts as well, as I want to be able to jump to declaration using Ctrl+LMB and I only want to jump to documentation using something else, like Ctrl+Alt+LMB for example. In general, I want to be able to define all the shortcuts as I want them to be... |
Tested versions
System information
Godot v4.3.stable - Windows 10.0.19045 - GLES3 (Compatibility) - AMD Radeon RX 6650 XT (Advanced Micro Devices, Inc.; 32.0.12033.1030) - AMD Ryzen 5 5600G with Radeon Graphics (12 Threads)
Issue description
CTRL + Clicking on a variable that's referenced from a global-autoload file, now takes you to the auto-generated help for that file, rather than taking to the referenced variable. As-though the global-autoload is now regarded as a class.
In 4.3.stable, you'd be taken straight to that variable;
Steps to reproduce
Video: https://github.com/user-attachments/assets/15287001-780d-4c26-82f7-bd797eacb6ee
Add the
./globals/core.gd
file as a Global Autoload, then CTRL + Click on theis_paused
variable in./main.gd
.Minimal reproduction project (MRP)
MRP: 44dev7.zip
The text was updated successfully, but these errors were encountered: