Coder Social home page Coder Social logo

gomode-1's Introduction

GoMode

NOTE: I haven't released the package to package control yet. I'm still testing the plugin and using it daily for my own code. It seems to be very stable, but I'm still discovering and fixing issues.

Intro

A new GoMode for SublimeText. Only Sublime Text 3 is supported, and I've only tested on OSX.

Features

  • godef
  • gorename
  • gofmt/goimports
  • oracle
  • gocode (for code completion)
  • goflymake for syntax checking as you type

Installation

Use Sublime Package Control (if you haven't done so already) from http://wbond.net/sublime_packages/package_control.

You must also have godef, oracle, gorename, gocode and goflymake in your path. If you don't have them installed you can use the `GoMode: Install Binaries' command to "go get" the binaries.

Settings

You can customize the behaviour of GoMode by creating a settings file in your User package. This can be accessed from within SublimeText by going to the menu Preferences > Browse Packages.... Create a file named GoMode.sublime-settings or alternatively copy the default settings file Packages/GoMode/GoMode.sublime-settings to your User package and edit it to your liking.

The most important thing is to set your PATH and GOPATH in the settings file:

"env": {
	"GOPATH": "$HOME/src/gostuff",
	"PATH": "/usr/local/bin:$HOME/src/services/bin:$PATH"
},

Copyright, License & Contributors

GoMode is released under the 3 clause BSD license. See LICENSE.md

The code is derived (sometimes substantially) from the following packages:

gomode-1's People

Contributors

newhook avatar

Watchers

 avatar  avatar

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.