Liteide: A great Go IDE

I’m pretty new to Go, so there may be better options out there, but I’m impressed.

My fav IDE in the Java world is Intellij; it has got a plugin for Go, but nothing compared to Liteide:

It cannot compete agaings Intelllij’s file editor and search engine – but is all in a very nice and free experience:

  • Light, starts very fast
  • “All” the Go tools at glance. Ctrl-s does (save + go fmt). Ctrl+t runs the tests (remember to remove the -v flag from test command in the xml config or you will go mad)
  • Decent code-completion
  • Find usage (useful)
  • Menu options for the tool less used, like go cover, go lint, go vet
  • Some basic refactorings; ctrl-shift-r -> rename (veeery useful)

For Halloween, I’m dressing as a Go developer.

Now just need to find a high horse…

1 Like

@bjornerik, thanks for the suggestion. I had looked at liteide before, but that was when the debugger wasn’t working (I think due to a Go issue) and given up on it. Having encountered situations where using an IDE to debug would be helpful for me, I decided to take another look thanks to your suggestion.

I did encounter a minor noob problem that I hope you can help me resolve. When trying to run a project via the debugger I get a file not found when trying to load the configuration file, which is passed as just the filename, app.json.

Does Liteide require additional path information? Or can I set something to get it to find it in the right location? Hopefully, this is something you or someone else has encountered and can help me on. I’m sure its something simple and obvious that I’m just overlooking.

For anybody using Ubuntu, there is a tool to install the latest release of Go and LiteIde: https://github.com/geosoft1/tools

Sorry, I almost never use a debugger – and as Go is fairly new to me, I have never debugged Go code with a debugger.

no problem, thought I’d ask.

It appears the problem was between the keyboard and chair, as usual.

Thanks

I use atom.io with a bunch of plugins. Atom.io is made by github, it uses the webkit engine underneath so its a browser engine running a extensible editor. :slight_smile: So far theres no debugger for Go and Atom.io.

Here a copy my local docs / upcoming blog post:

www. atomtips.com/atom-editor-vs-sublime-text/ explains my reasons to switch to Atom from Sublime quiet good

sudo add-apt-repository -y ppa:webupd8team/atom
sudo apt-get update
sudo apt-get -y install atom
apm install project-manager
apm install linter # https:// atom.io/packages/linter
apm install monokai
apm install autocomplete-plus
apm install git-control
apm install merge-conflicts
apm install clipboard-history
apm install minimap
apm install minimap-git-diff
apm install go-to-line

Go (golang) autocomplete https:// atom.io/packages/go-plus

go get -u -v github.com/nsf/gocode
go get -u -v github.com/golang/lint/golint
go get golang.org/x/tools/cmd/goimports
apm install go-plus
go get -u -v code.google.com/p/rog-go/exp/cmd/godef
apm install godef
go get code.google.com/p/go.tools/cmd/oracle
apm install go-oracle

Python Flake8 linter for atom, i’m using the python3 variant as i develop for python 3.x

sudo pip3 install flake8
apm install linter-flake8

Python autocomplete for atom

sudo apt-get -y purge python3-jedi python-jedi
apm install autocomplete-jedi

Python import sorter
https:// github.com/timothycrosley/isort
https:// atom.io/packages/python-isort)

sudo pip install isort
apm install python-isort

Navigator :slight_smile:

apm install autocomplete-plus
apm install atom-ctags

Upgrade all packages from time to time

apm upgrade
2 Likes

For anyone interested, atomtips.com has disappeared, but the post is available here.

And theres now a great debugger for Atom: go-debug

This is a complete lists of packages i’ve installed currently:

autocomplete-go
autocomplete-python
builder-go
chrome-color-picker
environment
go-config
go-debug
godoc
gofmt
go-get
gometalinter-linter
go-plus
gorename
hyperclick
language-restructuredtext
linter
linter-eslint
linter-flake8
monokai-dark
navigator-godef
permanent-delete
project-manager
project-plus
project-view
python-isort
python-tools
tester-go

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.