All Projects → sourcegraph → sourcegraph-sublime

sourcegraph / sourcegraph-sublime

Licence: MIT license
Sourcegraph for Sublime Text 3

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to sourcegraph-sublime

sourcegraph-jetbrains
Sourcegraph for JetBrains IDEs (IntelliJ)
Stars: ✭ 34 (+112.5%)
Mutual labels:  sourcegraph, repo-type-editor
sourcegraph-vscode
*️⃣+ 🆚 = ❤️
Stars: ✭ 84 (+425%)
Mutual labels:  sourcegraph, repo-type-editor
sublime
Repository for the Tandem Sublime Plugin
Stars: ✭ 22 (+37.5%)
Mutual labels:  sublime
Golite
Add essential language support for the Go language to Sublime Text 3.
Stars: ✭ 14 (-12.5%)
Mutual labels:  sublime
sublime-jasmine
Jasmine syntax, snippets and commands
Stars: ✭ 24 (+50%)
Mutual labels:  sublime
bioSyntax-archive
Syntax highlighting for computational biology
Stars: ✭ 16 (+0%)
Mutual labels:  sublime
themeX
The ultimate UNIVERSAL syntax color theme generator that let's you build your color scheme in just one file and compile for a wide range of different editors.
Stars: ✭ 26 (+62.5%)
Mutual labels:  sublime
Fuzzysort
Fast SublimeText-like fuzzy search for JavaScript.
Stars: ✭ 2,569 (+15956.25%)
Mutual labels:  sublime
sublime-jsx
Simple Sublime Text 3 JSX implementation
Stars: ✭ 24 (+50%)
Mutual labels:  sublime
dotfiles
Setup git, vim, zsh, SublimeText, tmux etc. using one command
Stars: ✭ 107 (+568.75%)
Mutual labels:  sublime
bolt-sublime
Syntax highlighting for Bolt and Sublime
Stars: ✭ 26 (+62.5%)
Mutual labels:  sublime
dotfiles
My dotfiles (vim/conky/etc.)
Stars: ✭ 79 (+393.75%)
Mutual labels:  sublime
Sublime-GameMaker-Studio-Language-Bundle
A sublime bundle for GameMaker Language (GML)
Stars: ✭ 32 (+100%)
Mutual labels:  sublime
elixir-sublime-syntax
The most powerful Elixir for the most Sublime experience.
Stars: ✭ 28 (+75%)
Mutual labels:  sublime
sublime-simple-import
A Sublime Text Plugin that helps you to import your modules.
Stars: ✭ 15 (-6.25%)
Mutual labels:  sublime
sublime-live-server
🌍️ Launch a Development Server directly from Sublime Text
Stars: ✭ 49 (+206.25%)
Mutual labels:  sublime
Sublimetmpl
Create File From Templates for SublimeText 2 / SublimeText 3
Stars: ✭ 222 (+1287.5%)
Mutual labels:  sublime
GoDebug
Go debugger (Delve) integration with Sublime Text 3
Stars: ✭ 20 (+25%)
Mutual labels:  sublime
ProColors
A collection of coding themes for syntax highlighting and the editors that are designed to be available in dark and light modes with a very high precision of harmony and token definition coverage.
Stars: ✭ 94 (+487.5%)
Mutual labels:  sublime
sublime-text-2-wpseek
wpseek.com WordPress Developer Assistant for Sublime Text 2 / 3
Stars: ✭ 19 (+18.75%)
Mutual labels:  sublime

Sourcegraph for Sublime Text 3 Package Control

The Sourcegraph plugin for Sublime Text 3 enables you to quickly open and search code on Sourcegraph.com easily and efficiently.

Installation

  1. Install Package Control, if you haven't already.
  2. Open the command palette Cmd+Shift+P (Ctrl+Shift+P on Windows/Linux).
  3. Search for Package Control: Install Package and press enter.
  4. Search for Sourcegraph and press enter to install the plugin.

Usage

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

Settings

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",
}

Questions & Feedback

Please file an issue: https://github.com/sourcegraph/sourcegraph-sublime/issues/new

Logs

Logs show up in the Sublime console, which is accessible via Ctrl+`

Uninstallation

  1. Open the command palette Cmd+Shift+P (Ctrl+Shift+P on Windows/Linux).
  2. Search for Package Control: Remove Package and press enter.
  3. Search for sourcegraph and press enter to uninstall the plugin.

Development

To develop the plugin:

  • git clone the repository into ~/Library/Application Support/Sublime Text 3/Packages/sourcegraph-sublime
  • Open the console with Ctrl+`
  • Make changes to the Python code and watch as Sublime reloads.
  • To release a new version, you MUST update the following files:
    1. messages.json (add a new version entry)
    2. README.md (describe ALL changes)
    3. messages/welcome.txt (copy from README.md change above)
    4. sourcegraph.py (VERSION constant)

Version History

  • v1.0.7 - Correctly open the default browser on Mac OS.

  • v1.0.6 - Fixed search shortcut.

    • Updated the search URL to reflect a recent Sourcegraph.com change.
  • v1.0.5 - Minor fixes to configuration.

    • Fix opening README, LICENSE, etc through "Package Settings" menu.
    • Update README to describe how to use with on-premises Sourcegraph instances.
  • v1.0.4 - Improved support for on-premises Sourcegraph instances

    • Now using the sourcegraph.com/-/editor endpoint.
  • v1.0.3 - Added usage metrics

    • Added minimal and non-obtrusive usage metrics, which lets us at Sourcegraph better improve our editor extensions.
  • v1.0.2 - Usability improvements

    • Adjusted the global search URL to the correct one, so that the search shortcut will work.
    • Added support for non-default git branches (brings you to the checked out branch on Sourcegraph.com)
    • Changed the keyboard shortcuts to Option+S (search selection) and Option+A (open selection) (Alt instead of Option for Windows and Linux).
  • v1.0.1 - Minor bug fixes

    • Fixed a bug where https etc. GitHub repo remote URLs would incorrectly build the Sourcegraph.com URL.
    • Windows: Fixed a bug where git commands would create Command Prompt pop-up windows.
  • v1.0.0 - Initial Release; basic Open File & Search functionality.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].