Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
chrissimon-au opened this issue Mar 11, 2024 · 0 comments
Open

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

chrissimon-au opened this issue Mar 11, 2024 · 0 comments
Labels
bug Something isn't working IntelliJ

Comments

@chrissimon-au
Copy link
Contributor

chrissimon-au commented Mar 11, 2024

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.

@chrissimon-au chrissimon-au added bug Something isn't working IntelliJ labels Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working IntelliJ
Projects
None yet
Development

No branches or pull requests

1 participant