javascript symbol completion for html5 elements

Consider the <canvas> object which has a 'getContext' method.

MWSnap010.jpg

This is not currently available. Is there a way to set this up so the new objects in html5 are available?

2 comments

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!"

Consider the <canvas> object which has a 'getContext' method.

Image:MWSnap010.jpg

This is not currently available. Is there a way to set this up so the
new objects in html5 are available?

---
Original message URL:
http://devnet.jetbrains.net/message/5307117#5307117



0

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).

0

Please sign in to leave a comment.