Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coding Examples

This is a Sourcegraph extension that provides canonical examples of class and function usage in a Hover provider.

It currently only works for Go code, but can be extended to other languages.

This extension needs access to a Go examples provider. One option is to run mhewett/go-example-server on your local machine.

Prerequisites

Sourcegraph extensions are written in TypeScript and are distributed as bundled JavaScript files that run on the client. For creation, publishing, and viewing, you need:

Set up

npm install

Lint and type check

npm run tslint
npm run typecheck

Publish

src extensions publish

Sourcegraph extension API

Visit the Sourcegraph extension documentation and check out some Sourcegraph extension samples.

About

A Sourcegraph extension to provide canonical examples for classes and functions

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages