javascript symbol completion for html5 elements
Consider the <canvas> object which has a 'getContext' method.
This is not currently available. Is there a way to set this up so the new objects in html5 are available?
Please sign in to leave a comment.
Hello Wallace,
Thank you for reporting this problem. We will try fixing it in one of the
upcoming builds.
Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Hi.
I've fixed the problem. You still won't get 'getContext' in the automatic completion list (as R# doesn't recognize exact type of the dom element that you got by it's id). But in the next version 'getContext' will be available in the basic completion list (explicit ctrl+space).