how to extend system behavior (Go Struct customized tag autocomplete)
Answered
I am going add customize tag autocomplete for go struct.
is there any way to achieve this?
Please sign in to leave a comment.
Hi,
Here you go:
I hope it helps.
thank you very much!
In fact I want to achieve this by a plugin. are there any examples?
Could you elaborate, please? Do you mean Go plugin with IntelliJ IDEA?
yes, I found the example.
com.goide.inspections.tag.GoTagValueCompletionContributor
Absolutely the same steps.
I found the example.
com.goide.inspections.tag.GoTagValueCompletionContributor
I am trying to understanding the source code. can you tell me what's the meaning of the below code block?
as we dont have the source code.
if (var10000 == null) {
$$$reportNull$$$0(0);
}
Please follow the guide: https://plugins.jetbrains.com/docs/intellij/goland.html
Could you please provide a link to the source?