Skip to content

IntelliJ doesn't show completion list in certain positions #63

Open
@chrissimon-au

Description

@chrissimon-au

Describe the bug
Due to IntelliJ's rules for determining a completionlist prefix, sometimes it doesn't show the Contextive complteion list as it determines the prefix doesn't match. e.g. in a yml file like:

key: value s

If the cursor is after the s, then Contextive would return a list and expect it to be filtered by the prefix s but intellij would attempt to filter with the value value s as it considers everything after the : to be prefix.

Expected behavior
It should show the completion list even at the position s

Additional context

From discussion with JetBrains support, they recommend using the textEdit field, not the insertText field in the completion item, as this is more explicit and would avoid client-side interpretation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    IntelliJbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions