2
\$\begingroup\$

In Godot 3.x, pressing the F1 shortcut while the blinking text cursor is on an engine-related keyword (methods, properties, etc.) will open the in-editor documentation window at the page related to such keyword.

This desirable behaviour allows me to move the text cursor on a keyword in a script, e.g. _process, and the documentation will show up on the right page after pressing the Help shortcut.

However, Godot 4.x doesn't behave this way. Pressing F1 will open the Search Help window regardless of what text is currently selected in a script, prompting me to input the search terms for its documentation.

Is this the new state of things, or can I customise this behaviour and switch back to the previous functionality?

\$\endgroup\$
0

2 Answers 2

1
\$\begingroup\$

To open the documentation of the engine-related keywords, I use Ctrl + LMB (Left Mouse Button) on the desired keyword. It's that what you mean?

\$\endgroup\$
1
  • \$\begingroup\$ This is exactly the behaviour I was expecting! Oddly, I use the same shortcut when working in VS Code but didn't think of it when trying to do the same in Godot! 😄 \$\endgroup\$ Commented Aug 24, 2023 at 11:12
1
\$\begingroup\$

The Contextual Help hotkey might be what you're looking for.

On Windows / Linux press Alt + F1.
On Mac press Alt + Shift + Space.

I'm running 3.5.1 & for me, the contextual help behaves as you describe for built in Godot methods & properties & the same hot key is listed in the stable (4.1) hotkey listing. Oddly when I try just using F1 by itself in 3.5.1 it brings up the help search but doesn't fill the search in for me as you described in your 3.x experience.

\$\endgroup\$
1
  • \$\begingroup\$ I'm on v4.1 on Linux, but the Alt+F1 combo opens the Search Help window and fills the search bar with the string the caret is currently on, requiring me to actually click on a valid search result. No contextual help, though. OTOH, when using v3.4, I downloaded Godot from a different package manager, and some shortcuts may have been slightly changed, as the F1 shortcut opened contextual help as I described. \$\endgroup\$ Commented Aug 24, 2023 at 11:15

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.