Skip to content

Class is always suggested first anytime a comma is typed #518

@andg-odoo

Description

@andg-odoo

Your setup
Version: 1.1.2
Operating System: Ubuntu 24.04
IDE and/or Integration tool (for example: Vscode - official extension): Neovim 0.11

Describe the bug
Anytime a comma is typed in the code editor, suggestions appear to prioritize the name of the class, and any imports that exist in the file. This leads to issues such as when writing a field, if you are typing out the different parameters to a field and want each on a new line, you might accidentally accept the suggestion for the class name instead of making the new line.

To Reproduce
Type a comma somewhere within a class.

Expected behavior
Either if we are within a field, suggest different parameters to them, or don't show anything.

Screenshots
Seen in Neovim
Image
Seen in VSCode

Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions