Name: sourcegraph-c9
Owner: Sourcegraph
Description: Sourcegraph for Cloud9 https://sourcegraph.com
Created: 2018-03-14 23:46:48.0
Updated: 2018-04-04 06:10:23.0
Pushed: 2018-03-26 17:01:07.0
Homepage: null
Size: 239
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
The Sourcegraph plugin for Cloud9 editor let's you quickly open and search code on Sourcegraph.com or your Sourcegraph Server instance easily and efficiently.
To load a plugin open your Init Script from Cloud9 > Open Your Init Script menu. And add code like this:
heck that this is the workspace you want to use
services.c9.workspaceId.match("{username}/{workspacename}")) {
// call plugin manager with a list of plugins you want to load
// this takes either url, or a path on your vm
services.pluginManager.loadPackage([
"https://cdn.rawgit.com/sourcegraph/sourcegraph-c9/v0.0.3/sourcegraph/c9build/package.sourcegraph.js",
])
In the command palette (Cmd+.), search for sourcegraph
to see available actions.
Keyboard Shortcuts:
| Description | Mac | Linux / Windows | |———————————|———————|——————| | Open file in Sourcegraph | Option+O | Alt+O | | Search selection in Sourcegraph | Option+S | Alt+S |
You can customize these keybindings in the preferences menu (Cmd+,)
Cloud9
-> Preferences
(Cmd+,)