sourcegraph / sourcegraph-extension-api

Sourcegraph extension API: use and build extensions that enhance reading and reviewing code in your existing tools. "The extension API you wish your code host had."
44 stars 2 forks source link

Document how to create extensions #42

Closed sqs closed 6 years ago

sqs commented 6 years ago

The extension authoring experience is undocumented. We intend to write very good tutorials and publish our API docs soon.

High-level:

Writing a Sourcegraph extension is very similar to writing an editor extension for VS Code. See the Codecov extension's main extension.ts file for an example.

Subscribe to this issue to get notified when extension authoring docs exist.

ryan-blunden commented 6 years ago

Sourcegraph extension Hello World tutorial now available.

ryan-blunden commented 6 years ago

Repository for Sourcegraph extension samples created, featuring a great example by @chrismwendt showing token selection and line decoration.

felixfbecker commented 6 years ago

Can the README be updated then and this issue closed?