-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Monaco JS Code Complete to exclude DOM related stuff #2907
Comments
@tomy2105 seems the suggested solution is to set
@sfmskywalker can you please advise on this? does the typings file generated by |
|
@sfmskywalker seems that updating the code as below fixes the issue, I no longer get CSS or DOM related stuff. The content seems irrelevant because it is just reading from the file instead. I tried with monaco.languages.typescript.javascriptDefaults.setExtraLibs([{
filePath: "lib.es5.d.ts"
}, {
content: libSource,
filePath: libUri
}]); |
Just built Elsa 2.6 from code and saw Monaco code complete contains a bunch of stuff that is not usable in Elsa JS Expressions, like:
CSSAnimation
orDOMException
.I think Monaco code complete should look at
lib.es5.d.ts
andlib.es6.d.ts
and similar but not atlib.dom.d.ts
and similar.Is this possible?
P.S. I think something like what is described in microsoft/monaco-editor#1001 needs to be done but not sure... :)
The text was updated successfully, but these errors were encountered: