• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JavaScript library for drawing on canvas(HTML5)

 
Volodymyr Lysenko
Ranch Hand
Posts: 511
1
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello!

I am working on eclipse and have small annoying problem when I form script
I type:

var context=document.getElementById("canvas").getContext('2d');

After "document+." I have code completion because Document class and getElementById() method are included in my classpath under "ECMA 3 Browser Support" node.
But when I type dot(.) after document.getElementById("canvas") I don't have any suggestions in code-completion.

If I type "context." to invoke methods to draw I don't have any suggestions as well.
IF I want to use methods of Math I also don't see code-completion after Math.

Don't you know what I have to include in my classpath or html page to have all methods to draw on canvas in code-completion.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Find a good reference, I use Notepad++ without and code completion.

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic