我安装了一些jsonnet格式的插件,在重新启动IDE之后,它就卡在了GoLand启动映像上。
我还通过终端GoLand打开了/Applications/GoLand.app/Contents/MacOS/goland,它显示了对于同一文件格式有两个插件的一些例外情况:
Caused by: com.intellij.diagnostic.ImplementationConflictException: Language with ID 'Jsonnet' is already registered: class com.jsonnetplugin.JsonnetLanguag
在开发GoLand插件并从build jar Plugin Gorm Generator depends on unknown plugin com.intellij.velocity安装插件时,我遇到了这个问题 <depends>org.jetbrains.plugins.go</depends> Build.gradle: intellij {
version '2020.2.1'
sandboxDirectory = "${rootProject.rootDir}/idea-sandbox"
type
当与Go插件一起使用IntelliJ IDEA或GoLand并使用Go 1.11或更高版本时,您可以通过使用Preferences -> Languages & enable -> Go -> Go Modules (vgo)并选中'Enable (vgo)集成‘来启用Go模块。
当您有一个由go mod init正确初始化的项目,并因此有一个go.mod和go.sum文件时,它将在使用go build构建命令行时或通过按绿色播放图标从IntelliJ下载依赖项。
但是,对远程依赖项的导入语句可能仍然是红色的,尽管它们似乎已经下载并显示在go.mod文件中。
Intellij和GoLand中的GitToolBox插件每次获取时都会给我这个错误。显然,这个错误是正确的。问题是存储库并不存在。如何将GitToolbox插件设置为从fetch跳过此url (更改.git/config以跳过fetch?)
这是我得到的错误:
3:11 PM Auto fetch failed in src/github.com/blendlabs/go-exception
src/github.com/blendlabs/go-exception: remote: Repository not found.
我正在尝试在IntelliJ IDEA中打开Apache源代码。
我在星火源代码根目录上打开了pom.xml。
项目树显示在“项目工具”窗口中。
但是,当我打开源文件时,比如org.apache.spark.deploy.yarn.ClientBase.scala,,编辑器滚动条上显示了很多红色标记。这是“无法解决符号”错误。即使它也不能解决StringOps.format问题。
我怎么才能修好它?
在窗口上,显示了以下粉红色背景的错误消息:
Library ‘Maven: org.scala-lang:scala-compiler-bundle:2.10.4’ is not used
能暗示
我使用激活器activator new my-project-name创建了一个新的Play Framework项目,然后选择了play-java模板,该项目创建时没有任何错误。
然后,我将项目作为SBT项目导入到我的集成开发环境IntelliJ中。导入项目时,会显示一个弹出窗口,上面写着:SBT compilation for play framework 2.x disabled by default。
在IntelliJ项目的面板上,它不会显示所有(主要是带有代码的文件)文件。只有一小部分。
build.sbt文件看起来充满了编译错误(几乎所有行都有红色下划线)。
这是buil
我构建了我的.so文件:
go build -buildmode=plugin -o test.so
并使用Goland运行调试,然后得到错误:
Error running agent: could not initialize input inputs.plugin_input: plugin.Open("./plugins_lib/test1"): plugin was built with a different version of package runtime/internal/sys
但是我可以在我的终端中构建我的主程序,它会运行的很好。
当我从这个项目中休息时,我有一个奇怪的问题。在启动Goland时,我在尝试运行我的项目时犯了很多错误。
在构建我的包时,具体的错误是:start.go: package project/game is not in GOROOT (C:\Go\src\project\game)
我在C:\Users\username下面有这样一个文件夹结构
go
|-src
|-project
|-game
|-entity
|-whatever.go
|-game_stuff.go
|-s