How to automatically prompt key in EditTextField json editor
已回答
I use EditTextField to edit JSON, and I want to automatically prompt users when they enter a key. What should I do
I found a CompletionContributor, but this is global and I don't want to use it globally. I just want to target a single editor
If I use LookupManager, I need to analyze JSON characters. Is there a simpler way?
请先登录再写评论。
Hi,
You can try to use
CompletionParameters.getEditor()
to distinguish the regular editor completion from yours and return in case you are not in your editor text field.I don't understand your solution based on
LookupManager
.