-
-
Notifications
You must be signed in to change notification settings - Fork 21.7k
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
There is no way to disable automatic code completion in the text editor #68139
Comments
Do other code editors offer settings to disable autocompletion entirely? Note that you can customize the code completion tooltip delay in the Editor Settings already. As for making shortcuts less intrusive, you can change the |
It's pretty common to find such a setting, in my experience. As an example, vscode has quite a lot of options to configure how its completion can be triggered, including if/how it should be triggered automatically. The main relevant setting seems to be I do use the existing delay setting, but I find issues with setting it very far either side of the default. Changing the delay to be longer magnifies the issues with the popup's sudden appearance, it's less predictable. Changing the delay to be shorter makes the popup more frequently and consistently visible, as you'd expect, but this magnifies the other issues. Thanks for the tip about the new setting, freeing up Enter would be a small but definite improvement. I have often preferred using Tab for this as well, in other editors. (although I do invariably end up wanting to insert a tab character at some point while the completion popup is visible 🫠) |
Adding to this to say that all major code editor offer the ability to turn off automatic code completions. It is very distracting for some people. The In-Engine editor really has come a long way so hope this little thing gets fixed soon. This is not even a feature that needs to be written, just raise the arbitrarily low max value of 5 in |
Adding this to say I found a manual workaround to turn off Godot's autocomplete on Windows. In File Explorer, go to "%AppData%" > Godot. Open "editor_settings-4.tres" in a text editor, then scroll down to "text_editor/completion/code_complete_delay" and set it to some arbitrary high value. (I set it to 100000.0) Save the file then restart Godot and code completion should effectively be gone. Works for me in Godot 4.0.3.stable on Windows 10. EDIT: I just noticed this issue is for Arch Linux. I don't know what the equivalent of "%AppData%" folder is for Linux, but I wouldn't be suprised if it's the same settings file. TLDR: Godot's max value of 5 in "text_editor/completion/code_complete_delay" is only a limitation in the UI and can be changed in the settings file if you know where to find it. |
Godot version
4.0.dev (e675154)
System information
Arch Linux 6.0.2-arch1-1
Issue description
I find the built-in code completion to be quite aggressive/invasive. It often makes editing scripts stressful, unpleasant and time-consuming. Some points about its behaviour:
Most of these points only become problems because it is triggered automatically. If it appeared as a result of the user requesting it, then e.g. taking keyboard focus would be reasonable to expect. I haven't found a lot of other criticism about this, so I would avoid changing the behaviour of the code completion itself.
Steps to reproduce
In the built-in script editor, type a letter on a new line in the body of a function.
Code completion triggers automatically after a delay period (set in EditorSettings).
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: