基于Web的Go语言IDE开发工具:godev

jopen 10年前

godev基于 WEB 的 golang IDE,开箱即用型。功能已经非常完整,还支持远程代码编写,这对于修改服务器上的代码非常方便。这个灵感来自于godoc工具使用Web用户界面,而不是传统的图形用户界面方式。

在这种情况下,一个基于的Web用户界面具有某些优点:

    通过您的Web浏览器远程访问(无需额外安装所需)
    独立于操作系统的图形用户界面(Go有没有标准的跨平台的库)
    Go托管开发环境

在可能的情况godev旨在重复使用现有的工具来提供一个集成的经验。不是每个工具需要被安装,以获得一个基本的编辑,导航和执行环境。这有助于保持最低限度的IDE膨胀,并促进现有的工具独立。可以创建GoDev第三方扩展并且容易安装。

该IDE的计划

最初的冲刺和原型完成。未来的冲刺将重点提高广度和深度的功能。

Areas explored:

  • Edit and Code Navigation
    • Use the Eclipse Orion project as a base
    • http://www.eclipse.org/orion
    • Syntax highlighting
    • File outline
    • Simple content assists
    • Markers for compile errors, todo comments, fixme comments
    </li>
  • Documentation
    • Go doc integration
    • </ul> </li>
    • Build and Compile
      • Use the go build/go install commands to compile the code
      • Create console and markers for specific compile errors
      • </ul> </li>
      • Run
        • Run and manage running Go process (output buffer, input, stop)
        • </ul> </li>
        • Go test
          • Run a package's go test suite and report back results in a table/tree
          • </ul> </li>
          • Contextual content assist
            • Content assists based on the return value of a function call
            • Content assists based on the other functions in the current file and local GOPATH packages
            • </ul> </li> </ul>

              New areas to explore: