git clone 'git://github.com/sourcegraph/emacs-sourcegraph-mode.git'
WORK IN PROGRESS
Emacs mode for Sourcegraph, powered by srclib, for automatically configured, high-quality programming language support in Emacs. Currently provides:
for any language srclib supports, currently:
Check out the screenshots below, and the screencast on YouTube.
First, make sure you've installed srclib, along with the toolchains for the programming
languages you're using. Once srclib is installed, you can install the emacs plugin by navigating to your
directory and cloning the repository.
cd ~/.emacs.d git clone https://github.com/sourcegraph/emacs-sourcegraph-mode.git
To install the plugin, append the following code to
(add-to-list 'load-path "~/.emacs.d/emacs-sourcegraph-mode")
Sourcegraph-mode can be enabled in a buffer with M-x, then typing
Docs and type info are retrieved locally if possible; otherwise they are fetched from Sourcegraph.com. Examples are always fetched from Sourcegraph.com.
Your local code is never uploaded to Sourcegraph, but the “definition paths” of things you look up are sent (to retrieve examples from the Sourcegraph API). The definition paths include the following information about the definition under your cursor (but do not include any source code):
sourcegraph-mode uses a BSD-style license. See LICENSE for more details.