Skip to content

There is no way to disable automatic code completion in the text editor #68139

Description

@quinnyo

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:

  • it changes the behaviour of useful keys (enter, cursor keys, page up/down, home/end)
  • as it appears after a delay, it can capture a keypress that was intended for its usual purpose in the text editor
  • it appears suddenly, which can be disconcerting
  • it can rapidly change as you type (flickering/flashing just outside of what you're looking at), which is distracting at best, adds to sensory & cognitive load
  • it can cover up text that you were referring to

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions