sourcegraph/sourcegraph-c9

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Sourcegraph for Cloud9

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.

Installation

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",
])

Usage

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+,)

Settings

Sourcegraph URL


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.