Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@codingame/monaco-vscode-api

Package Overview
Dependencies
Maintainers
6
Versions
275
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codingame/monaco-vscode-api

VSCode public API plugged on the monaco editor

  • 1.67.1
  • Source
  • npm
  • Socket score

Version published
Maintainers
6
Created
Source

@codingame/monaco-vscode-api · monthly downloads npm version PRs welcome

NPM module that respects the vscode api and redirect calls to monaco editor.

Some features not supported by monaco (type hierarchy, call hierarchy...) can be implemented by hands:

import { Services } from 'vscode/services'
Services.install({
   languages: {
       registerTypeHierarchyProvider (documentSelector, provider) {
           ...
       }
   }
})

Installation

npm install vscode@npm:@codingame/monaco-vscode-api
npm install -D @types/vscode

Usage

Just import it as if you were in a vscode extensions:

import * as vscode from 'vscode'

const range = new new vscode.Range(...)
vscode.languages.registerCompletionItemProvider(...)

FAQs

Package last updated on 03 Jun 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc