Replies: 2 comments 1 reply
-
This is controlled through |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for the reply. I've included a {
"compilerOptions": {
"target": "es2020",
"lib": ["es2020"],
"module": "commonjs"
}
}
It did not appear to have any effect whatsoever. I still don't get completion on e.g. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Let me preface this with a caveat that I'm not super fluent in all the terminology around language servers (i.e. I don't know what a "code lens" is), so please be gentle if I'm using the wrong terms for things.
I'm writing an application using vanilla js + WebGL and my development stack is:
Completion works fine for the core parts of javascript, e.g.
getElementByID()
and friends. But if I want to call into, let's say, the canvas API, I don't have completion working. Here's an example:Note how the
getContext
isn't offered by the language server as a completion option.Here's a second example:
Similarly, the
open
isn't offered as a completion option.How do I fix this?
Beta Was this translation helpful? Give feedback.
All reactions