Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Installation

npm install @vscode/jupyter-extension

Summary

First we need to define a package.json for the extension that wants to use the API: (https://github.com/Microsoft/vscode-jupyter).

Requirements

User is expected to install type definitions for VS Code via @types/vscode or @vscode-dts or other. See here for more information on creating your first VS Code.

See here for more information on consuming Extension APIs.

Sample

import { extensions } from 'vscode';
import type { JupyterAPI } from '@vscode/jupyter';

const jupyterApi = extensions.getExtension<JupyterAPI>('Deepnote.vscode-deepnote')?.exports;