Make FileSystemDock navigate to currently selected scene tab#109587
Make FileSystemDock navigate to currently selected scene tab#109587Repiteo merged 1 commit intogodotengine:masterfrom
Conversation
31b2a98 to
04e2a91
Compare
|
Referenced the wrong discussion in the description. Here's the correct one: corrected description link as well. |
|
This should be optional (defaulting to being disabled IMO), I personally don't want this feature enabled |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
|
The proposal references VSCode at the top, and the behavior there is definitely selecting. I personally took that to be more or less synonymous with "hilighting". Not sure a visual change that didn't scroll to it would be much use at all. |
|
That makes sense, in the general terminology "highlighting" would mean something different that's what's was confusing |
|
When changing scenes via quick open (Ctrl+Shift+O), the file does not get selected. |
Looks like the signal for tab_changed is suppressed by this code here in Not entirely sure if this is intentional? It seems to work correctly if I just remove the two block_signals calls. |
|
Blocking the signal is intentional, as otherwise that method would get called again from the signal emitted from that method, potentially causing an infinite loop. |
|
I see!! thanks @kitbdev for the clarification. |
82bd7f1 to
76ca957
Compare
Hey I believe I've squashed to 1 commit - could you double check just in case? |
26b7c9c to
77091f5
Compare
|
Thanks! Congratulations on your first merged contribution! 🎉 |

This PR should address the linked issue below where changing tabs within the scene editor tabs node doesn't make File System Dock node auto-navigate to where the selected scene is located on disk.
Closes: godotengine/godot-proposals#9313