Skip to content

Add an option to prevent using Enter to select completions #12728

@OverLordGoldDragon

Description

@OverLordGoldDragon

When a typed method name is matched exactly with suggestion's, I have a "press Enter twice or click away or press space" overhead for any linter suggestion. I understand the linter suggestion also includes a docstring excerpt, or that a 'complete' method name can be another method name's substring, but my request can be handled as follows:

  • If typed method matches any linter suggestion exactly, then automatically [Enter] the suggestion upon typing, without consuming the next keystroke - unless the input extends a method's name (i.e. is alphanumeric or underscore)
  • So, if I type .stem and Enter, I should newline (the Enter isn't consumed by the linter)
  • Can make this a configurable so current behavior remains an option

image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions