Skip to content

Commit b925eec

Browse files
author
DisposaBoy
committed
- add note about installing with Sublime Package Control
1 parent 3bc2142 commit b925eec

File tree

1 file changed

+22
-4
lines changed

1 file changed

+22
-4
lines changed

README.md

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,40 @@ Features
1515
* gotype support with errors highlighted in the editor view
1616
* gofmt support for quickly reformatting your source to conform with the Go standards
1717
* automatic code completion popup when you press dot(.)
18-
* quick panel palette to jump errors (and jump back to where you were before)
18+
* quick panel palette to jump errors (and jump back to where you were before (accross files))
1919

2020
Demo
2121
----
2222

2323
* http://vimeo.com/disposaboy/gosublime-demo2
2424

25+
Dependencies
26+
------------
27+
28+
First (if you haven't done so already) install [Gocode](https://github.com/nsf/gocode).
29+
Gocode provides the code completion in GoSublime.
30+
2531
Installation
2632
------------
2733

28-
1. First (if you haven't done so already) install [Gocode](https://github.com/nsf/gocode).
34+
Recommended method
35+
------------------
36+
37+
Sublime Package Control allows you to easily install or remove GoSublime(and many other ST2 packages) from within the editor. It offers automatically updating packages as well so you no longer need to keep track of changes in GoSublime.
38+
39+
1. Install Sublime Package Control (if you haven't done so already) from http://wbond.net/sublime_packages/package_control . Be sure to restart ST2 to complete the installation.
2940

30-
2. Download GoSublime into your packages directory. You can access your package directory from within SublimeText by going to the menu `Preferences > Browse Packages...`. You can download a zipped archive or tarball on github via the `Downloads` button.
31-
Alternatively (recommended), you can simply clone this repo into your packages directory . (on Linux)
41+
2. Bring up the command palette (default `ctrl+shift+p` or `cmd+shift+p`) and start typing `Package Control: Install Package` then press return or click on that option to activate it. You will be presented with a new Quick Panel with the list of available packages. Type `GoSublime` and press return or on its entry to install GoSublime. If there is no entry for GoSublime, you most likely already have it installed.
42+
43+
Alternative method
44+
------------------
45+
46+
* Download GoSublime into your packages directory. You can access your package directory from within SublimeText by going to the menu `Preferences > Browse Packages...`. You can download a zipped archive or tarball on github via the `Downloads` button.
47+
48+
* Alternatively, you can simply clone this repo into your packages directory . (on Linux)
3249

3350
$ cd ~/.config/sublime-text-2/Packages
51+
3452
$ git clone git://github.com/DisposaBoy/GoSublime
3553

3654
Usage

0 commit comments

Comments
 (0)