Enable otherDocuments property which will allow the user to pass in relevant file context. Example:
Usage
Use the new otherDocs prop. For example:
<CodeiumEditor
language="javascript"
otherDocuments={[
new Document({
absolutePath: "/index.html",
relativePath: "index.html",
text: "the contents of the html file...",
editorLanguage: "html",
language: Language.HTML,
}),
]}
/>
Enable
otherDocuments
property which will allow the user to pass in relevant file context. Example:Usage
Use the new
otherDocs
prop. For example: