Update context menu logic and implement shortcuts#562
Update context menu logic and implement shortcuts#562BenjaTK merged 4 commits intogaea-godot:2.0from
Conversation
|
4.6 added an easy way to add configurable shortcuts, maybe want to look into that? |
|
nvm I'm dumb |
|
still, the 4.5 logic can be removed since we're updating to 4.6 from now on. |
I have removed the 4.6 check |
There was a problem hiding this comment.
I am unable to get any of this to show up on either Godot 4.5 or 4.6. This is the second PR where I just don't see the new features showing up anywhere so there's a chance something weird is happening on my end.
Psych, I opened the wrong branch, lol
There was a problem hiding this comment.
It seems that only some of the Gaea dock's shortcuts are actually added to the Editor Settings, or is this because the most "standard" ones are just reused from the common shortcuts? (i.e. Delete Selection : Delete)
Additionally, the way the shortcuts are displayed is not working as expected, see below:
yes I reuse some of the common shortcuts and some are built-in actions from the graph edit directly. I just display them so the user know about them |
This PR changes some menus and add shortcut to them.
The logic for the Filesystem menus have been moved to the FileSystemContainer script to be used by both menus;


The new Edit popup use the node context menu actions


The shortcuts use editor settings ones for many editor shortcuts, so if the user change them in the Editor Setting the label will be updated. If the user is using Godot 4.6+ the shortcuts will be added to the Editor Setting and he will be able to change them. In Godot 4.5 they are fixed shortcuts.
Also some shortcuts have been added to the file system :
Also some shortcuts have been added to the file Graph Edit :