casid / jte-intellij

IntelliJ plugin for jte template files.
https://github.com/casid/jte
Apache License 2.0
23 stars 4 forks source link

When typing $, @, !, the first live template should be selected by default #37

Closed casid closed 1 year ago

casid commented 1 year ago

After some research, this behavior is caused by com.intellij.codeInsight.completion.HtmlCompletionContributor#shouldTryDeselectingFirstPopupItem.

There's a new unstable API which allows us to adjust this behavior: com.intellij.codeInsight.completion.HtmlInTextCompletionPopupExtension