Name: sourcegraph-sublime
Owner: Sourcegraph
Description: Sourcegraph for Sublime Text 3
Created: 2017-04-29 04:41:25.0
Updated: 2018-03-05 15:15:21.0
Pushed: 2017-06-20 18:15:14.0
Homepage: https://sourcegraph.com
Size: 20
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
The Sourcegraph plugin for Sublime Text 3 enables you to quickly open and search code on Sourcegraph.com easily and efficiently.
Package Control: Install Package
and press enter.Sourcegraph
and press enter to install the plugin.In the command palette (Cmd+Shift+P
or Ctrl+Shift+P
), search for Sourcegraph:
to see available actions.
Keyboard Shortcuts:
| Description | Mac | Linux / Windows | |———————————|———————|——————| | Open file in Sourcegraph | Option+A | Alt+A | | Search selection in Sourcegraph | Option+S | Alt+S |
Open the user package settings (Sublime Text
-> Package Settings
-> Sourcegraph
-> Settings - User
), then modify this example configuration:
// The Sourcegraph instance to use. Specify your on-premises Sourcegraph
// instance here, if applicable.
"SOURCEGRAPH_URL": "https://sourcegraph.com",
Please file an issue: https://github.com/sourcegraph/sourcegraph-sublime/issues/new
Logs show up in the Sublime console, which is accessible via Ctrl+`
Package Control: Remove Package
and press enter.sourcegraph
and press enter to uninstall the plugin.To develop the plugin:
git clone
the repository into ~/Library/Application Support/Sublime Text 3/Packages/sourcegraph-sublime
messages.json
(add a new version entry)README.md
(describe ALL changes)messages/welcome.txt
(copy from README.md change above)sourcegraph.py
(VERSION
constant)git commit -m "all: release v<THE VERSION>"
and git push
and git tag v<THE VERSION>
and git push --tags
.v1.0.7 - Correctly open the default browser on Mac OS.
v1.0.6 - Fixed search shortcut.
v1.0.5 - Minor fixes to configuration.
v1.0.4 - Improved support for on-premises Sourcegraph instances
sourcegraph.com/-/editor
endpoint.v1.0.3 - Added usage metrics
v1.0.2 - Usability improvements
v1.0.1 - Minor bug fixes
https
etc. GitHub repo remote URLs would incorrectly build the Sourcegraph.com URL.v1.0.0 - Initial Release; basic Open File & Search functionality.