Cannot resolve language with id ''go''
Answered
I am going to implement an extensions. here is the code
"go" is high-lighted in red and shows ""
<depends>com.intellij.modules.platform</depends>
<depends>org.jetbrains.plugins.go</depends>
<extensions defaultExtensionNs="com.intellij">
<!-- Add your extensions here -->
<completion.contributor language="go"
implementationClass="xxxxx"/>
</extensions>
Please sign in to leave a comment.
Hi,
Please, provide an output of build.gradle file (intellij { ... } section).
here is
by the way I am using build.gradle.kts.
I didn't see any suspicious here. Could you please share a link to your plugin on Github/Gitlab/etc.?
https://github.com/kcmvp/go-batis-plugin/tree/autocomplete
Please, try reimporting your Gradle project.
still the same issue!
by the way is there a dedicated slack channel?
Yes, please see https://intellij-support.jetbrains.com/hc/en-us/community/posts/360006494439
I've moved your question to the corresponding thread. Stay tuned.
Can you tell me which channel you moved to? Then I can follow it in the slack.
Thank you very much
I moved your thread on our community forum from GoLand to IntelliJ IDEA Open API and Plugin Development.
Please follow official guide https://plugins.jetbrains.com/docs/intellij/goland.html
Don't mix "GO" in intellij block with additional requiring Go plugin
Don’t understand your point. As you can see in my source code, the action work well. Can you point out what should I do to fix this issue? Thank you very much
You define target platform=GO=Goland and in addition you set additional Go Plugin (standalone) in your Gradle build.
You mean remove the plug-in will fix this issue?
It is definitely wrong and it might fix the issue. The underlying problem is the Language-class implementing Go is not resolved properly now in your project.
By the way, I checked source code of go struct tag autocomplete and found that if the built-in go struct tag supply a method to add customize tag definition then I don’t need to create a new extension. Not sure it’s feasible or not. I would like to request a feature. It’s would be great the platform to support this! Thank you very much
Please create feature request https://youtrack.jetbrains.com/issues/GO
Sure, thank you very much.
Seems a lot of guys run into the same issue, I will check the document again try to resolve this problem,As right now I am not around my computer. Meanwhile I will raise a feature request, as for my case it’s better to use the built-in functionality.