Skip to content
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

GDScript completion eats the word the caret is on #101306

Open
mieldepoche opened this issue Jan 8, 2025 · 1 comment
Open

GDScript completion eats the word the caret is on #101306

mieldepoche opened this issue Jan 8, 2025 · 1 comment

Comments

@mieldepoche
Copy link
Contributor

Tested versions

v4.4.dev7.official [46c8f8c]

System information

windows 11

Issue description

I can't find if this was introduced willingly, but I find it annoying, maybe because of habit.

in recent dev builds, autocompletion now erases the word the caret is on:

4.4dev7 4.3
render.webm
render.webm

Is that a bug?

Steps to reproduce

  • place the caret before a word
  • begin typing
  • select an autocompletion

Minimal reproduction project (MRP)

any

@kitbdev
Copy link
Contributor

kitbdev commented Jan 8, 2025

This was an intentional change to the shortcuts. Enter and Tab now both replace text (ui_text_completion_replace) and Shift+Enter and Shift+Tab now insert text(ui_text_completion_accept). You can change the shortcuts for different behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants