Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

Commit

Permalink
Make godef the default goto definition impl
Browse files Browse the repository at this point in the history
Oracle is too slow. Restore godef as the default.
  • Loading branch information
ironcladlou committed Sep 13, 2015
1 parent 77ad5d8 commit 17a0589
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion GoTools.sublime-settings
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"format_backend": "gofmt",

// A go-to-definition backend (must be either 'oracle' or 'godef').
"goto_def_backend": "oracle",
"goto_def_backend": "godef",

// Enable gocode autocompletion.
"autocomplete": true,
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Here's an example `sublime-mousemap` entry which will go to a definition using `
{"button": "button1", "count": 1, "modifiers": ["ctrl"], "command": "gotools_goto_def"}
```

By default [oracle](https://godoc.org/golang.org/x/tools/oracle) is used for definition support. To change the backend, set `goto_def_backend` in your [GoTools settings](GoTools.sublime-settings).
By default [godef](https://github.com/rogpeppe/godef) is used for definition support. To change the backend, set `goto_def_backend` in your [GoTools settings](GoTools.sublime-settings).

#### Autocomplete

Expand Down

0 comments on commit 17a0589

Please sign in to comment.