The Sourcegraph plugin for Atom enables you to quickly open and search code on Sourcegraph.com easily and efficiently.
Atom
-> Preferences
(Cmd+,).Install
on the left.Sourcegraph
and press enter, then Install
.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 |
Atom
-> Preferences
(Cmd+,).Packages
on the left.Sourcegraph
, then Settings
.Default: https://sourcegraph.com
field to edit it and enter your on-premises Sourcegraph instance.Please file an issue: https://github.com/sourcegraph/sourcegraph-atom/issues/new
Atom
-> Preferences
(Cmd+,).Packages
on the left.Sourcegraph
, then Uninstall
.To develop the plugin:
git clone
the repository into ~/.atom/Packages/sourcegraph
(lowercase packages
on Mac), npm install
and open in Atom.Window: Reload
to reload the extension in the current Atom window.File
-> Reopen Project
and View
-> Toggle Tree View
(Cmd+\) are your friends here. Consider using a separate editor to make changes.CHANGELOG.md
(describe ALL changes)lib/sourcegraph.js
(VERSION
constant)git commit -m "all: release v<THE VERSION>" && git push
apm publish <major|minor|patch>
See CHANGELOG.md
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.