Code Monkey home page Code Monkey logo

sourcegraph-vscode's Introduction

Sourcegraph for VS Code visual_studio_code

The Sourcegraph extension for VS Code enables you to quickly open and search code on Sourcegraph.com easily and efficiently.

Installation

  1. Open the extensions tab on the left side of VS Code (Cmd+Shift+X or Ctrl+Shift+X).
  2. Search for Sourcegraph -> Install and Reload.

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

Extension Settings

This extension contributes the following settings:

  • sourcegraph.URL: The Sourcegraph instance to use. Specify your on-premises Sourcegraph instance here, if applicable.

Questions & Feedback

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

Uninstallation

  1. Open the extensions tab on the left side of VS Code (Cmd+Shift+X or Ctrl+Shift+X).
  2. Search for Sourcegraph -> Gear icon -> Uninstall and Reload.

Development

To develop the extension:

  • git clone the repository somewhere
  • Run npm install in the directory
  • Open the repo with code .
  • Press F5 to open a new VS Code window with the extension loaded.
  • After making changes to src/extension.ts, reload the window by clicking the reload icon in the debug toolbar or with F5.
  • To release a new version:
    1. Update README.md (describe ALL changes)
    2. Update CHANGELOG.md (copy from README.md change above)
    3. Update src/extension.ts (VERSION constant)
    4. Publish on the VS Code store by following https://code.visualstudio.com/docs/extensions/publish-extension (contact @slimsag or @lindaxie for access)
    1. git add . && git commit -m "all: release v<THE VERSION>" && git push
    2. git tag v<THE VERSION> && git push --tags

Version History

  • v1.0.5 - Tested, bug fixes.
  • v1.0.0 - Initial Release; basic Open File functionality.

sourcegraph-vscode's People

Contributors

mejamiewilson avatar slimsag avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.