Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Integrate VS Code extensions in the Monaco editor

The FAQ section of the Monaco repository says that it is not possible to execute VS Code extensions on the Monaco Editor in browser. If I understand correctly, the extensions have server dependencies. Thus, it should be possible to integrate an extension in the Monaco editor with a server (ex. npm run simpleserver).

As example, I would like the integrate the Better Merge extension in the Monaco editor. Is that possible? How may I do it?

like image 590
Hélder Gonçalves Avatar asked Oct 30 '22 08:10

Hélder Gonçalves


1 Answers

The vscode extensions are built on top of the vscode API. The vscode API is built on top of the monaco editor API plus many other things. One would need to build things on the monaco editor API or implement the vscode API from scratch on top of the monaco editor API.

source : github

like image 177
AmirNorouzpour Avatar answered Nov 15 '22 06:11

AmirNorouzpour