Git Product home page Git Product logo

ide-go-langserver's Introduction

Atom Golang IDE

An Atom IDE package for Go, powered by Sourcegraph's go-langserver.

But why this one?

This package does not leverage (though recognizes the greatness of) the go-plus package. It purely uses Sourcegraph's Go Langserver for it's functionality. It also integrates with the latest features of the Atom IDE.

Installation

This package requires the atom-ide-ui package to be installed to expose the functionality within Atom.

The language server will be installed on first startup and updated if an update is available.

Features

  • Auto Completion
  • Document outline
  • Go to definition
  • Hover
  • Find references
  • Code formatting

Early Access

This package is still in the early stages of development, be sure to post any bugs you (or feature requests) to the Github issues page.

Todo

In no particular order

  • Find a (clean) way to install specific versions of the langserver
  • Add a way to run tests, sending the output to the console
  • Add a logger, use the IDE console
  • Integrate Delve for debugging
  • Create custom task runner to use ts-node & tape
  • Figure out why local var/keyword completion doesn't work (has something to do with language server?)
  • Make go install path check work with Windows

License

MIT License. See LICENSE for more information.

ide-go-langserver's People

Contributors

tylerfowler avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

ide-go-langserver's Issues

Failed to activate the ide-go-langserver package

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.52.0 x64
Electron: 6.1.12
OS: "Arch Linux"
Thrown From: ide-go-langserver package 0.1.2

Stack Trace

Failed to activate the ide-go-langserver package

At Unexpected identifier

/home/a/.atom/packages/ide-go-langserver/lib/main.ts:1
(function (exports, require, module, __filename, __dirname, process, global, Buffer) { return function (exports, require, module, __filename, __dirname) { import Path from 'path';
                                                                                                                                                                  ^^^^

SyntaxError: Unexpected identifier
    at new Script (vm.js:83:7)
    at NativeCompileCache.runInThisContext (/usr/lib/atom/src/native-compile-cache.js:43:20)
    at Module._compile (/usr/lib/atom/src/native-compile-cache.js:100:36)
    at Object.value [as .ts] (/usr/lib/atom/src/compile-cache.js:255:23)
    at Module.load (internal/modules/cjs/loader.js:645:32)
    at Function.Module._load (internal/modules/cjs/loader.js:560:12)
    at Module.require (internal/modules/cjs/loader.js:685:19)
    at require (/usr/lib/atom/src/native-compile-cache.js:68:27)
    at Package.requireMainModule (/usr/lib/atom/src/package.js:907:27)
    at Package.activateNow (/usr/lib/atom/src/package.js:231:34)
    at /usr/lib/atom/src/package.js:210:27
    at Package.measure (/usr/lib/atom/src/package.js:81:19)
    at /usr/lib/atom/src/package.js:204:14
    at new Promise (<anonymous>:null:null)
    at Package.activate (/usr/lib/atom/src/package.js:202:32)
    at PackageManager.activatePackage (/usr/lib/atom/src/package-manager.js:800:36)
    at /usr/lib/atom/src/package-manager.js:775:30
    at Config.transactAsync (/usr/lib/atom/src/config.js:925:22)
    at PackageManager.activatePackages (/usr/lib/atom/src/package-manager.js:773:17)
    at PackageManager.activate (/usr/lib/atom/src/package-manager.js:750:44)
    at /usr/lib/atom/src/atom-environment.js:1017:21
    at Function.all (<anonymous>:null:null)
    at AtomEnvironment.startEditorWindow (/usr/lib/atom/src/atom-environment.js:1040:20)

Commands

Non-Core Packages

atom-freemarker-server 0.0.4 
atom-live-server 2.3.0 
atom-live-server-plus 3.0.1 
dbg 1.6.3 
dbg-gdb-custom-server 0.3.0 
grammar-live-reload 1.1.2 
ide-go-langserver 0.1.2 
languageserver-php 0.2.2 
languageserver-rust 0.3.0 
languageserver-vue 0.1.0 
live-archive 0.1.15 
live-code-runner 5.3.0 
local-server-express 0.3.1 
local-server-web-view 1.1.0 
local-web-server 0.1.0 
output-panel 0.3.4 
php-server 0.8.0 
rails-server 0.5.0 
server-script 0.1.3 
vale-server 1.7.1 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.