7.0.2 • Published 2 days ago
@codingame/monaco-languageclient-react v7.0.2
@codingame/monaco-languageclient-react ·
Installation
npm install @codingame/monaco-languageclient-react
Usage
Simple usage
You need to create an infrastructure
object and render the LanguageClient
component:
import React from "react";
import LanguageClient, { Infrastructure } from "@codingame/monaco-languageclient-react";
class MyInfrastructure implements Infrastructure {
automaticTextDocumentUpdate = false
rootUri = 'file://...'
useMutualizedProxy() { return false }
getFileContent(resource, languageClient) { return ... }
openConnection(id) {
// create connection
}
}
const infrastructure = new MyInfrastructure()
function LanguageClientContainer() {
return (
<LanguageClient
id='java'
infrastructure={infrastructure}
/>
);
}
7.0.2
2 days ago
7.0.1
27 days ago
7.0.0
2 months ago
6.1.2
3 months ago
6.1.1
3 months ago
6.1.3
3 months ago
6.1.0
3 months ago
6.0.0
3 months ago
5.1.0-update-monaco.1
3 months ago
5.1.0-update-monaco.2
3 months ago
6.0.0-next.0
11 months ago
5.0.3
1 year ago
5.0.2
2 years ago
5.0.1
2 years ago
5.0.0
2 years ago
2.3.0
2 years ago
3.0.2
2 years ago
3.0.1
2 years ago
3.0.0
2 years ago
4.1.0
2 years ago
4.0.1
2 years ago
4.0.0
2 years ago
4.2.0
2 years ago
4.0.2
2 years ago
2.2.0
2 years ago
2.1.1
2 years ago
2.1.0
2 years ago
2.0.0
2 years ago
1.2.0
2 years ago
1.1.1
2 years ago
1.1.0
2 years ago
1.6.1
2 years ago
1.6.0
2 years ago
1.5.0
2 years ago
1.4.0
2 years ago
1.3.1
2 years ago
1.3.0
2 years ago
1.2.1
2 years ago
1.1.2
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago