GithubHelp home page GithubHelp logo

ckaznocha / ide-go Goto Github PK

View Code? Open in Web Editor NEW
37.0 5.0 2.0 530 KB

Go language support for Atom-IDE, powered by Sourcegraph's Go Language Server

License: MIT License

TypeScript 100.00%
atom-package atom-ide golang go lsp language-server-protocol

ide-go's People

Contributors

ckaznocha avatar dependabot[bot] avatar greenkeeper[bot] avatar lloiser avatar pbitty avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

tylerfowler 00mjk

ide-go's Issues

IDE-Go without Go-Plus not working

I am using the latest version of:

  • [ x ] Atom
  • [ x ] ide-go
  • atom-ide-ui
  • [ x ] go-langserver

Operating System:

Expected Behavior

After installing the ide-go package and the go-langserver I would expect the go-langserver to deliver langserver information to Atom(-IDE) for any Go source file. An installation of go-plus is no longer necessary (see changelog for v0.10.0).

Actual Behavior

Due to a check in the language-client.ts file (https://github.com/ckaznocha/ide-go/blob/master/lib/language-client.ts#L150-L152) the language server will not be started as long as the services GoConfig and GoGet from the go-plus package have not been registered.

Steps to Reproduce

Uncaught Error: Header must provide a Content-Length property.

I don't know how to reproduce this. It just happens...

Atom: 1.26.1 x64
Electron: 1.7.11
OS: Ubuntu 17.10
Thrown From: ide-go package 0.7.0

Stack Trace

Uncaught Error: Header must provide a Content-Length property.

At /home/omer/.atom/packages/ide-go/node_modules/vscode-jsonrpc/lib/messageReader.js:200

Error: Header must provide a Content-Length property.
    at StreamMessageReader.onData (/packages/ide-go/node_modules/vscode-jsonrpc/lib/messageReader.js:200:27)
    at /packages/ide-go/node_modules/vscode-jsonrpc/lib/messageReader.js:185:19)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:191:7)
    at readableAddChunk (_stream_readable.js:178:18)
    at Socket.Readable.push (_stream_readable.js:136:10)
    at Pipe.onread (net.js:560:20)

Commands

     -8:07.9.0 core:cut (input.hidden-input)
     -8:07.2.0 intentions:highlight (input.hidden-input)
     -8:07.0 core:save (input.hidden-input)

Non-Core Packages

atom-ide-ui 0.11.1 
autocomplete-python 1.10.5 
build 0.70.0 
build-cmake 0.11.0 
build-dockerfile 1.0.1 
build-make 0.13.0 
build-python 0.9.3 
busy 0.7.0 
busy-signal 1.4.3 
file-icons 2.1.19 
go-debug 1.6.1 
go-plus 5.8.3 
ide-cpp 0.0.3 
ide-go 0.7.0 
ide-python 0.9.2 
ide-ruby 0.1.10 
ide-rust 0.16.0 
intentions 1.1.5 
language-cmake 1.1.0 
language-cython 0.3.0 
language-docker 1.1.8 
language-ini 1.19.0 
language-nginx 0.8.0 
language-pgsql 0.2.3 
language-restructuredtext 1.1.2 
language-rust 0.4.12 
language-systemd 0.1.1 
language-terraform 0.8.1 
language-thrift 1.0.2 
linter 2.2.0 
linter-docker 0.3.2 
linter-pylama 0.9.5 
linter-terraform-semantics 0.2.0 
linter-terraform-syntax 1.2.2 
linter-ui-default 1.7.1 
merge-conflicts 1.4.5 
minimap 4.29.8 
minimap-autohide 0.10.1 
minimap-linter 2.1.3 
python-autopep8 0.1.3 
python-debugger 0.2.0 
python-indent 1.1.5 
python-isort 0.0.7 
python-mrigor 2.1.3 
python-tools 0.6.9 
rst-preview 1.3.1 
terminal-plus 0.14.5 
terraform-fmt 0.3.0 

Package no longer working

After upgrading to Atom 1.28.0, the ide-go package doesn't appear to be working. Outline, hyperclick go-to-def, and hover info is no longer works.

Outline panel says I need to install a supporting IDE package.

screen shot 2018-06-25 at 2 30 15 pm

Everything was working as expected prior to upgrading.

I am using the latest version of:

  • Atom
  • ide-go
  • atom-ide-ui
  • go-langserver

Operating System: macOS 10.13.1

Expected Behavior

ide-go features work

Actual Behavior

ide-go features dont work.

Steps to Reproduce

Action required: Greenkeeper could not be activated 🚨

🚨 You need to enable Continuous Integration on all branches of this repository. 🚨

To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because we are using your CI build statuses to figure out when to notify you about breaking changes.

Since we did not receive a CI status on the greenkeeper/initial branch, we assume that you still need to configure it.

If you have already set up a CI for this repository, you might need to check your configuration. Make sure it will run on all new branches. If you don’t want it to run on every branch, you can whitelist branches starting with greenkeeper/.

We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.

Once you have installed CI on this repository, you’ll need to re-trigger Greenkeeper’s initial Pull Request. To do this, please delete the greenkeeper/initial branch in this repository, and then remove and re-add this repository to the Greenkeeper integration’s white list on Github. You'll find this list on your repo or organiszation’s settings page, under Installed GitHub Apps.

Do I need to install go-plus?

Also if I do, I have some warnings like:

Choose a linter UI

You have both linter and atom-ide-diagnostics enabled, which will both display lint results for Linter-based packages.

To avoid duplicate results, please disable one of the packages.

Datatip gets stuck on inside inline function

I am using the latest version of:

  • Atom
  • ide-go
  • atom-ide-ui
  • go-langserver

Operating System: macOS

Expected Behavior

As I type the atom-ide-ui datatip would dynamically change.

Actual Behavior

datatip overlay element stays the same when working on inline function argument, such as testing package function argument

Steps to Reproduce

package main

import (
	"testing"
)

func TestDatatipAppearance(t *testing.T) {
	t.Run("function_appearance", func(t *testing.T) {
                // datatip will keep referring to t.Run function as you type here
        })
}

Doesn't work with nonstandard GOPATH

I am using the latest version of:

  • Atom Beta (1.29.0-beta2)
  • ide-go (0.7.0)
  • atom-ide-ui (0.13.0)
  • go-langserver (v2-dev)
$ apm-beta --version
apm  1.19.0C
npm  3.10.10
node 6.9.5 x64
atom 1.29.0-beta2
python 2.7.15
git 2.18.0

Operating System: Debian buster/sid (DE: xfce4)

Expected Behavior

Working.

Actual Behavior

Nothing. The "working" cursor appears when I hover over an identifier and hold ctrl but it just stays like that indefinitely, but otherwise it's almost like the plugin isn't even installed. I wanted to use this plugin since go-plus is very laggy when typing. There aren't any messages in the console, either.

Steps to Reproduce

  • Install the plugin

  • Open a Go source file

  • Try to do something that would trigger some behavior, like typing fmt..

Disappearing text

I am using the latest version of:

  • Atom
  • ide-go
  • atom-ide-ui
  • go-langserver

Operating System:

Mac OS X

Expected Behavior

Text should not disappear when saving file

Actual Behavior

import statement goes missing

Steps to Reproduce

try to save the following file:

package display

import (
term "term"
)

type Display interface {
Show(depth int) string
}

func (Normal *n) Show(depth int) string {
}

you will see that the import statement is removed from the buffer and the file.

gopls compatability

I am using the latest version of:

  • Atom v1.13.1 x64
  • ide-go v0.12.3
  • atom-ide-ui
    - [ ] go-langserver

Operating System:

macOS 10.14.3

Expected Behavior

Expected it to JustWork™ when setting the server path to ~/go/bin/gopls, as it does for when using bingo. Since bingo is no longer going to be maintained in favour of gopls the ide-go package should work with the official language server.

Actual Behavior

A gopls process is spawned, but Atom does not communicate with it from what I can tell.

Steps to Reproduce

go get -u golang.org/x/tools/cmd/gopls

Set custom server path to $(which gopls)

Reload window, check for process with ps aux | grep gopls to see process.

See that atom-ide-ui displays nothing, format on save doesn't work, etc.

Error while opening go file

C:\Users\alex\.atom\packages\ide-go\node_modules\vscode-jsonrpc\lib\messages.js:46 Uncaught (in promise) Error: invalid root URI "file://C:\\homework\\go\\src\\git\\group\\repo\\": must be file:/// URI
    at new ResponseError (C:\Users\alex\.atom\packages\ide-go\node_modules\vscode-jsonrpc\lib\messages.js:46:28)
    at handleResponse (C:\Users\alex\.atom\packages\ide-go\node_modules\vscode-jsonrpc\lib\main.js:421:48)
    at processMessageQueue (C:\Users\alex\.atom\packages\ide-go\node_modules\vscode-jsonrpc\lib\main.js:249:17)
    at Immediate.<anonymous> (C:\Users\alex\.atom\packages\ide-go\node_modules\vscode-jsonrpc\lib\main.js:233:13)
    at runCallback (timers.js:651:20)
    at tryOnImmediate (timers.js:624:5)
    at processImmediate [as _immediateCallback] (timers.js:596:5)

There is a conflict with go-plus package

Go language server stopped unexpectedly.

I am using the latest version of:

  • Atom
  • ide-go
  • atom-ide-ui
  • go-langserver

Operating System:
macOS High Sierra
version 10.13.3

$ go version
go version go1.9.4 darwin/amd64

screen shot 2018-02-09 at 16 20 51

This error is thrown whenever a go source files is open, also navigation through symbols doesn't work.

Uncaught TypeError: this.getLanguageName is not a function

Steps to reproduce:

  1. just started Atom

Atom: 1.23.3 x64
Electron: 1.6.15
OS: Mac OS X 10.13.3
Thrown From: ide-go package 0.6.0

Stack Trace

Uncaught TypeError: this.getLanguageName is not a function

At /Users/johannes/.atom/packages/ide-go/lib/ide-go.js:146

TypeError: this.getLanguageName is not a function
    at ChildProcess.onExit (/packages/ide-go/lib/ide-go.js:146:25)
    at emitTwo (events.js:111:20)
    at ChildProcess.emit (events.js:191:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)

Commands

Non-Core Packages

aligner-php 1.2.0 
appcelerator-titanium 1.0.3 
asciidoc-preview 2.10.3 
atom-beautify 0.30.9 
atom-ide-ui 0.7.2 
atom-sync-cygwin 0.9.19 
atom-typescript 12.1.1 
autocomplete-php 0.3.7 
blame 1.0.1 
build 0.70.0 
busy-signal 1.4.3 
color-picker 2.2.5 
colors 1.0.1 
docblockr 0.13.6 
emmet 2.4.3 
git-blame 1.5.0 
git-line 0.6.0 
git-plus 7.10.0 
github-2016-syntax 1.2.0 
go-debug 1.6.0 
go-plus 5.8.1 
go-signature-statusbar 1.2.3 
highlight-selected 0.13.1 
hyperclick 0.0.0 
ide-go 0.6.0 
ide-php 0.7.4 
intentions 1.1.5 
jscs-fixer 1.3.0 
language-asciidoc 1.11.0 
language-latex 1.1.1 
latex-completions 0.3.3 
linter 2.2.0 
linter-jscs 4.1.3 
linter-phpcs 1.6.8 
linter-ui-default 1.6.10 
mac-github-syntax 1.3.9 
minimap 4.29.7 
minimap-autohider 1.5.3 
minimap-bookmarks 0.4.2 
minimap-highlight-selected 4.6.1 
nord-atom-syntax 0.9.1 
pandoc 0.2.2 
phantom-ui 1.0.0 
project-manager 3.3.5 
semanticolor 3.5.5 
tablr 1.8.3 
tablr-json 0.1.0 
tabs-to-spaces 1.0.3 
to-do 0.2.0 
toggler 0.3.1 

Your code races rather easily, and ends up running off eating up 200% cpu.

I am using the latest version of:

  • Atom
  • ide-go
  • atom-ide-ui
  • go-langserver

Operating System: macOS 10.14

Expected Behavior

It not to run off, by racing waiting for one to finish, resulting in another, and another, and another, and another, ultimately eating up 200% CPU, and never stopping because there is not stoppage, or timeout when working on stuff.

Actual Behavior

It runs off, and eats up CPU until I kill it.

An in-range update of @types/node is breaking the build 🚨


☝️ Important announcement: Greenkeeper will be saying goodbye 👋 and passing the torch to Snyk on June 3rd, 2020! Find out how to migrate to Snyk and more at greenkeeper.io


The dependency @types/node was updated from 13.9.2 to 13.9.3.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

@types/node is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Outline not available after hyperclick

Thanks for this great extension.

After hyperclick a symbol in a go file, the defining go file will be opened, but ide-go couldn't show an outline for that opened file, with message "This is likey an error with the language package". Any idea?

Uncaught Error: Header must provide a Content-Length property.

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.23.3 x64
Electron: 1.6.15
OS: "Manjaro Linux"
Thrown From: ide-go package 0.5.0

Stack Trace

Uncaught Error: Header must provide a Content-Length property.

At /home/lvndry/.atom/packages/ide-go/node_modules/vscode-jsonrpc/lib/messageReader.js:200

Error: Header must provide a Content-Length property.
    at StreamMessageReader.onData (/packages/ide-go/node_modules/vscode-jsonrpc/lib/messageReader.js:200:27)
    at /packages/ide-go/node_modules/vscode-jsonrpc/lib/messageReader.js:185:19)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:188:7)
    at readableAddChunk (_stream_readable.js:176:18)
    at Socket.Readable.push (_stream_readable.js:134:10)
    at Pipe.onread (net.js:551:20)

Commands

     -1:32.8.0 core:move-right (input.hidden-input)
     -1:31.9.0 editor:newline (input.hidden-input)
     -1:30.4.0 core:backspace (input.hidden-input)
     -1:29.7.0 autocomplete-plus:confirm (input.hidden-input)
     -1:27.7.0 core:move-down (input.hidden-input)
     -1:27.4.0 autocomplete-plus:confirm (input.hidden-input)
     -1:25 intentions:highlight (input.hidden-input)
     -1:24.9.0 core:save (input.hidden-input)
     -0:21.5.0 core:move-right (input.hidden-input)
     -0:21.3.0 intentions:highlight (input.hidden-input)
  3x -0:21.2.0 editor:select-to-beginning-of-word (input.hidden-input)
  7x -0:18.8.0 core:backspace (input.hidden-input)
     -0:12.9.0 intentions:highlight (input.hidden-input)
     -0:12.9.0 core:save (input.hidden-input)
     -0:11.1.0 intentions:highlight (input.hidden-input)
     -0:11.1.0 core:save (input.hidden-input)

Non-Core Packages

atom-beautify 0.30.9 
atom-material-syntax 1.0.8 
atom-material-syntax-dark 1.0.0 
atom-material-ui 2.1.1 
autocomplete-paths 2.12.2 
busy-signal 1.4.3 
cdn-libs 0.1.3 
clipboard-plus 0.5.1 
color-picker 2.2.5 
css-snippets 1.1.0 
emmet 2.4.3 
etheratom 3.2.0 
file-icons 2.1.16 
go-imports 0.1.1 
go-plus 5.7.2 
hey-pane 1.1.0 
highlight-selected 0.13.1 
ide-go 0.5.0 
intentions 1.1.5 
java-generator 2.2.3 
javascript-snippets 1.2.1 
jquery-snippets 11.0.0 
language-ethereum 0.3.9 
language-javascript-jsx 0.3.7 
linter 2.2.0 
linter-ui-default 1.6.10 
material-ui 1.0.10 
minimap 4.29.7 
oceanic-next 1.0.0 
pigments 0.40.2 
project-manager 3.3.5 
react 0.17.0 

Uncaught Error: Connection is closed.

It happens often then i'm editing golang file

Atom: 1.21.0-beta2 x64
Electron: 1.6.9
OS: Mac OS X 10.12.6
Thrown From: ide-go package 0.4.0

Stack Trace

Uncaught Error: Connection is closed.

At /Users/drago/.atom/packages/ide-go/node_modules/vscode-jsonrpc/lib/main.js:606

Error: Connection is closed.
    at /packages/ide-go/node_modules/vscode-jsonrpc/lib/main.js:131:28)
    at throwIfClosedOrDisposed (/packages/ide-go/node_modules/vscode-jsonrpc/lib/main.js:606:19)
    at Object.sendNotification (/packages/ide-go/node_modules/vscode-jsonrpc/lib/main.js:660:13)
    at LanguageClientConnection._sendNotification (/packages/ide-go/node_modules/atom-languageclient/build/lib/languageclient.js:244:15)
    at LanguageClientConnection.didChangeTextDocument (/packages/ide-go/node_modules/atom-languageclient/build/lib/languageclient.js:133:10)
    at TextEditorSyncAdapter.sendFullChanges (/packages/ide-go/node_modules/atom-languageclient/build/lib/adapters/document-sync-adapter.js:183:22)
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:20)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:34)
    at /Applications/Atom Beta.app/Contents/Resources/app/src/text-editor.js:626:38
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/text-buffer/node_modules/event-kit/lib/emitter.js:25:20)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/text-buffer/node_modules/event-kit/lib/emitter.js:141:34)
    at DisplayLayer.emitDidChangeSyncEvent (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/text-buffer/lib/display-layer.js:823:24)
    at /Applications/Atom Beta.app/Contents/Resources/app/node_modules/text-buffer/lib/text-buffer.js:781:35
    at Map.forEach (native)
    at TextBuffer.module.exports.TextBuffer.emitDidChangeEvent (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/text-buffer/lib/text-buffer.js:780:47)
    at TextBuffer.module.exports.TextBuffer.applyChange (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/text-buffer/lib/text-buffer.js:763:18)
    at TextBuffer.module.exports.TextBuffer.revertToCheckpoint (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/text-buffer/lib/text-buffer.js:1002:22)
    at TextBuffer.module.exports.TextBuffer.transact (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/text-buffer/lib/text-buffer.js:956:20)
    at TextEditor.module.exports.TextEditor.transact (/Applications/Atom Beta.app/Contents/Resources/app/src/text-editor.js:1673:32)
    at /Applications/Atom Beta.app/Contents/Resources/app/src/text-editor.js:1234:30
    at TextEditor.module.exports.TextEditor.mergeSelections (/Applications/Atom Beta.app/Contents/Resources/app/src/text-editor.js:2621:24)
    at TextEditor.module.exports.TextEditor.mergeIntersectingSelections (/Applications/Atom Beta.app/Contents/Resources/app/src/text-editor.js:2583:41)
    at TextEditor.module.exports.TextEditor.mutateSelectedText (/Applications/Atom Beta.app/Contents/Resources/app/src/text-editor.js:1232:25)
    at TextEditor.module.exports.TextEditor.insertText (/Applications/Atom Beta.app/Contents/Resources/app/src/text-editor.js:1198:25)
    at TextEditor.object.(anonymous function) [as insertText] (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/underscore-plus/lib/underscore-plus.js:77:33)
    at TextEditorComponent.didTextInput (/Applications/Atom Beta.app/Contents/Resources/app/src/text-editor-component.js:1631:28)

Commands

     -0:13.4.0 tree-view:show (atom-workspace.workspace.scrollbars-visible-when-scrolling)
     -0:08.1.0 core:save (input.hidden-input)
     -0:05.9.0 core:copy (input.hidden-input)
     -0:04.4.0 core:move-down (input.hidden-input)

Non-Core Packages

atom-ide-ui 0.4.0 
busy-signal 1.4.3 
docblockr 0.11.0 
editorconfig 2.2.2 
file-icons 2.1.12 
git-plus 7.9.3 
git-time-machine 1.5.9 
go-plus 5.5.5 
go-signature-statusbar 1.2.3 
highlight-selected 0.13.1 
hyperclick 0.0.0 
ide-go 0.4.0 
ide-json 0.1.0 
ide-typescript 0.6.1 
ide-yaml 0.1.6 
intentions 1.1.5 
linter 2.2.0 
linter-eslint 8.3.2 
linter-golinter 1.2.2 
linter-js-yaml 1.2.8 
linter-jsonlint 1.3.0 
linter-ui-default 1.6.10 
sync-settings 0.8.3 

Feature request for outline: TODO

I am using the latest version of:

  • [X ] Atom
  • [X ] ide-go
  • [X ] atom-ide-ui
  • [X ] go-langserver

This is a feature request. It would be very awesome if the outline could capture ```//TODO`` comments in some fashion and tier them within the methods if possible. A possible format could be

// TODO <label>

Thanks for the great tool.

Uncaught Error: Header must provide a Content-Length property.

[Enter steps to reproduce:]

  1. Rename variable

Atom: 1.29.0 x64
Electron: 2.0.5
OS: Mac OS X 10.11.6
Thrown From: ide-go package 0.12.3

Stack Trace

Uncaught Error: Header must provide a Content-Length property.

At /Users/edgardo/.atom/packages/ide-go/node_modules/vscode-jsonrpc/lib/messageReader.js:200

Error: Header must provide a Content-Length property.
    at StreamMessageReader.onData (/packages/ide-go/node_modules/vscode-jsonrpc/lib/messageReader.js:200:27)
    at /packages/ide-go/node_modules/vscode-jsonrpc/lib/messageReader.js:185:19)
    at emitOne (events.js:116:13)
    at Socket.emit (events.js:211:7)
    at addChunk (_stream_readable.js:263:12)
    at readableAddChunk (_stream_readable.js:250:11)
    at Socket.Readable.push (_stream_readable.js:208:10)
    at Pipe.onread (net.js:594:20)

Commands

     -0:26 editor:consolidate-selections (input.hidden-input)
     -0:26 core:cancel (input.hidden-input)
     -0:25.7.0 editor:consolidate-selections (input.hidden-input)
     -0:25.7.0 core:cancel (input.hidden-input)
     -0:25.5.0 editor:consolidate-selections (input.hidden-input)
     -0:25.5.0 core:cancel (input.hidden-input)
     -0:25.2.0 editor:consolidate-selections (input.hidden-input)
     -0:25.2.0 core:cancel (input.hidden-input)
  2x -0:19 core:paste (a.stack-toggle)
     -0:16.7.0 core:save (input.hidden-input)
     -0:08.9.0 editor:consolidate-selections (input.hidden-input)
     -0:08.9.0 core:cancel (input.hidden-input)
     -0:07.3.0 core:paste (input.hidden-input)
     -0:05.8.0 editor:consolidate-selections (input.hidden-input)
     -0:05.8.0 core:cancel (input.hidden-input)
     -0:04.6.0 core:save (input.hidden-input)

Non-Core Packages

atom-ide-ui 0.13.0 
file-icons 2.1.24 
gherkin-autocomplete 2.0.0 
go-debug 1.6.2 
go-find-references 1.2.3 
go-imports 0.1.1 
go-outline 0.6.7 
go-plus 5.8.6 
go-rename 0.3.0 
go-signature-statusbar 1.2.3 
Hydrogen 2.5.1 
ide-go 0.12.3 
json-to-go-struct 0.0.5 
language-docker 1.1.8 
language-gherkin 1.0.4 
language-plantuml 0.2.0 
rest-client 1.3.1 
todo-show 2.3.2 

Failed to load the ide-go package

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.37.0 x64
Electron: 2.0.18
OS: Unknown Windows version
Thrown From: ide-go package 0.12.3

Stack Trace

Failed to load the ide-go package

At Cannot find module 'atom-languageclient/build/lib/adapters/datatip-adapter'

Error: Cannot find module 'atom-languageclient/build/lib/adapters/datatip-adapter'
    at Module._resolveFilename (module.js:543:15)
    at Module._resolveFilename (~/AppData/Local/atom/app-1.37.0/resources/electron.asar/common/reset-search-paths.js:35:12)
    at Function.get_Module._resolveFilename (~/AppData/Local/atom/app-1.37.0/resources/app/static/<embedded>:11:154765)
    at Module.require (/app.asar/static/index.js:40:43)
    at require (~/AppData/Local/atom/app-1.37.0/resources/app/static/<embedded>:11:146072)
    at /packages/ide-go/lib/datatip-adapter.ts:11:27)
    at /packages/ide-go/lib/datatip-adapter.ts:29:3)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.37.0/resources/app/static/<embedded>:11:146782)
    at Object.value [as .ts] (~/AppData/Local/atom/app-1.37.0/resources/app/static/<embedded>:11:150329)
    at Module.load (module.js:561:32)
    at tryModuleLoad (module.js:504:12)
    at Function.Module._load (module.js:496:3)
    at Module.require (/app.asar/static/index.js:47:45)
    at require (~/AppData/Local/atom/app-1.37.0/resources/app/static/<embedded>:11:146072)
    at /packages/ide-go/lib/ide-go.ts:4:27)
    at /packages/ide-go/lib/ide-go.ts:8:3)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.37.0/resources/app/static/<embedded>:11:146782)
    at Object.value [as .ts] (~/AppData/Local/atom/app-1.37.0/resources/app/static/<embedded>:11:150329)
    at Module.load (module.js:561:32)
    at tryModuleLoad (module.js:504:12)
    at Function.Module._load (module.js:496:3)
    at Module.require (/app.asar/static/index.js:47:45)
    at require (internal/module.js:11:18)
    at customRequire (~/AppData/Local/atom/app-1.37.0/resources/app/static/<embedded>:1:688410)
    at Package.requireMainModule (~/AppData/Local/atom/app-1.37.0/resources/app/static/<embedded>:11:3550485)
    at measure (~/AppData/Local/atom/app-1.37.0/resources/app/static/<embedded>:11:3537196)
    at Package.measure (~/AppData/Local/atom/app-1.37.0/resources/app/static/<embedded>:11:3536028)
    at Package.load (~/AppData/Local/atom/app-1.37.0/resources/app/static/<embedded>:11:3536769)
    at PackageManager.loadAvailablePackage (~/AppData/Local/atom/app-1.37.0/resources/app/static/<embedded>:11:381204)
    at PackageManager.loadPackage (~/AppData/Local/atom/app-1.37.0/resources/app/static/<embedded>:11:379932)

Commands

     -2:27.9.0 core:paste (div.highlights)
     -2:27.2.0 editor:newline (input.hidden-input)
     -2:10 core:save-as (input.hidden-input)
     -1:07.0 settings-view:install-packages-and-themes (input.hidden-input)
  7x -1:04.8.0 core:backspace (input.hidden-input)

Non-Core Packages

ide-go 0.12.3 

Don't replace the outline view until completion

I am using the latest version of:

  • Atom
  • ide-go
  • atom-ide-ui
  • go-langserver

Right now your software replaces the outline view well before the outline is finished, which means if there is an error in the software, you've cleared out the view, and getting to a point in the source where it's easy to find the error is ultimately harder.

[FEATURE] Configure ports used by go-langserver

I am using the latest version of:

  • Atom
  • ide-go
  • atom-ide-ui
  • go-langserver

Operating System: MacOS 10.13.3

Problem

The port :6060 is used by go-langserver for pprof, and :4389 is used for the language service.

As a developer it's possible for one of these ports to be used by other software on my machine. In my case, :6060 is being used by something else.

Request

Add the -pprof and -addr options for go-langserver to the package settings, so they can be changed by the user.

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.