griddycode icon indicating copy to clipboard operation
griddycode copied to clipboard

Suggestion: place pointer inside of function call

Open Symmettry opened this issue 1 year ago • 6 comments

When autocompleting a function it will put you at the end of the parenthesis

like doing

waf -> waffle() will put your cursor at the end so you type "waffle()1" instead of in the parenthesis of "waffle(1)", which is annoying

Symmettry avatar Mar 21 '24 04:03 Symmettry

Should be fixable by moving the caret a character backwards on function auto complete

face-hh avatar Mar 21 '24 05:03 face-hh

aight lemme test

Symmettry avatar Mar 21 '24 05:03 Symmettry

wait where do i do that

Symmettry avatar Mar 21 '24 05:03 Symmettry

settings.gd I believe, around the end in the "autocomplete" function

face-hh avatar Mar 21 '24 05:03 face-hh

There's no signal in Godot attached to CodeEdit that's called on autocomplete accept, so without a hacky method I doubt this is possible

face-hh avatar Mar 22 '24 16:03 face-hh

yeah the only way i could think is one that’s very annoying to implement

Symmettry avatar Mar 22 '24 19:03 Symmettry