Godot: Comments trigger auto-complete.

Created on 21 Aug 2020  Â·  8Comments  Â·  Source: godotengine/godot

Godot version:

dbb0ad3b5

OS/device including version:

Win10 64-bit

Issue description:

When typing comments, auto-complete hints keep appearing.
From testing it seems to be a regression from 3.2.2.

image

Steps to reproduce:
Start a comment in the build at the commit above. Continue typing.

Minimal reproduction project:

None needed.

bug regression gdscript

All 8 comments

That kind of seems more like a feature than a bug. I have a memory like a sieve, so having suggestions seems kinda useful.

@shayneoneill I have to assume you haven't been encountering it. It heavily interrupts the flow of writing comments.

It attempts to autocomplete every word. So when typing simple words like "of" "a" "the" it'll get hit with hints, and if one happens to hit enter swiftly to continue on to a new line, it will pick the first suggestion.

Speaking for myself my comments are 99+% description and detail, and very seldom contain any code.

To narrow the issue, it first appears in 3.2.3 RC4.

No i;ve encountered it. Its proven useful.

When I hit enter on a period, it will complete with the first item in the list as if I were writing a reference to a class property.

ezgif com-video-to-gif

If it's to become a feature, it should be introduced that way, with and option to enable/disable it, and ideally with better handling of the return key on the punctuation inside comment lines.

Ok yeah that does seem like its a little overeager. Maybe an option to
enable/disable in comments would be a pretty good compromise?

On Sat, Aug 22, 2020 at 6:20 PM avencherus notifications@github.com wrote:

When I hit enter on a period, it will complete with the first item in the
list as if I were writing a reference to a class property.

[image: ezgif com-video-to-gif]
https://user-images.githubusercontent.com/13004169/90954053-a47c3280-e479-11ea-8d6a-b8c240894b55.gif

If it's to become a feature, it should be introduced that way, with and
option to enable/disable it, and ideally with better handling of the return
key on the punctuation inside comment lines.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/41438#issuecomment-678623146,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADZDR6VGVRCSCQAV7HZJE3SB6LX7ANCNFSM4QHV27WA
.

Issue introduced in https://github.com/godotengine/godot/pull/41318 d53f5b55ecee030da636b66b40afb3b4afd68a26 @ThakeeNathees

Fixed by #41451.

Was this page helpful?
0 / 5 - 0 ratings