Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
 
 

README.md

Outline

Extension Source Code

This folder contains the source code for the extension.

Contexts

As detailed in our CONTRIBUTING.md file, this extension runs code in the following execution contexts:

  1. Core App
  • The main app where all the commands, webviews, file system, and all other components are put together and registered as a single extension
    • Runs code with Node.js on Desktop clients (for example, VS Code on Desktop) as a regular extension, or Web Worker on Web clients (for example, github.dev on browser) as a web extension
    • Web extensions run in the web extension host in a Browser Web Worker environment, and do not have access to Node.js globals and libraries at runtime
  1. Sidebars
  • This is the UI for all the sidebars used in the core app
    • Uses the VS Code Webview API to render the webview views in search sidebar, search history sidebar, auth sidebar, and help and feedback sidebar
  1. Search Panel
  • This is the UI for the extension search homepage and to display search results
    • Uses the VS Code Webview API to render the webview panel for the Sourcegraph search homepage as a distinct editor tab
  1. Extension Host
  1. Custom File System

List of Files and Folders

See the File Structure section in our CONTRIBUTING.md file to learn more about the folders and files in this directory.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.