-
Hi, after i read this thread #498 i wonder, is it possible to load dts files per model and dynamically via parameter with the intellisense implementation (like in the demo)? If it is, do i still need the With "dynamically via parameter" i mean that i want to load the dts files in a C# application and send it to the editor api which uses your api Thanks for your help in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hello, I'm not sure what you mean by With the VSCode extension and if crossOriginIsolated is not enabled, I'm not sure your source file will be able to reference to .d.ts next to it 🤔 What I would do if you can't enable crossOriginIsolated and you only need a single source file is to simply use the monaco worker |
Beta Was this translation helpful? Give feedback.
Hi, thanks for your answer. I think i found a solution for my objective. I just use setExtraLib of the monaco-lib (-> https://microsoft.github.io/monaco-editor/typedoc/interfaces/languages.typescript.LanguageServiceDefaults.html#setExtraLibs). This fulfills my needs.