Skip to content
This repository has been archived by the owner on Mar 19, 2019. It is now read-only.
/ Golite Public archive

Add essential language support for the Go language to Sublime Text 3.

License

Notifications You must be signed in to change notification settings

wy-z/Golite

Repository files navigation

Golite

Add essential language support for the Go language to Sublime Text 3, including:

  • Code completion gocode
  • Goto Definition godef + guru
  • Lint on save as well as lint manually SublimeLinter + gometalinter
  • Format on save as well as format manually gofmt + goimports
  • Rename gorename

Installation

The Golite package is installed by using Package Control.

  • If Package Control is not installed, follow the Installation Instructions
  • Open the Sublime Text command palette and run the Package Control: Install Package command
  • Type Golite and select the package to perform the installation

Commands

  • Golite: Format Format manually
  • Golite: Godef Go to definition
  • Golite: Rename Rename identifier
  • Golite: Install Dependencies Install dependencies
  • Golite: Doctor - Audit Installation Audit installation for common issues

Dependencies

  • gocode An autocompletion daemon for the Go programming language
  • guru A tool for answering questions about Go source code
  • goimports Update your Go import lines, adding missing ones and removing unreferenced ones
  • godef Print where symbols are defined in Go source code
  • gometalinter Concurrently run Go lint tools and normalise their output
  • gorename Perform precise type-safe renaming of identifiers in Go source code
  • SublimeLinter Interactive code linting framework for Sublime Text 3

License

MIT