HTML canvas API completion

Hi
i test HTML canvas API and i see phpstrom editor support canvas API  but when I want to rewrite the function , php storm show me too many options .
Is there a way to avoid this ?
Here a cpature screen of Dreamweaver and phpstorm .
How  phpstrom know the canvas  API ? is there a way to change configure this ( internal , external install browser ) ?
regard's



Attachment(s):
phpstorm_canvas.png
5 comments

Hello!

works fine for me using WebStorm 8.0.1 - see screenshot
All my settings are default ones



Attachment(s):
canvas2.png
0

Thank's
the last stable version is 7.1.3
what is the state for  8 ?EAP ?

0

Hi
I test basic javascript function setTimeOut() . Is there a way to have more information in the popup windows documentation like those find  in http://www.w3schools.com/jsref/met_win_settimeout.asp.
i compare some "IDE"
Aptana seem to be the one that give the more information .
PHPstorm give minimal information
Dreamweaver CS6 give noo information since it dont know this name
Is there a way to enhance the documentation file that PHPStorm use for pop up documentation ?


regard's

PS code hinting bolds the active argument is nice



Attachment(s):
phptstorm_js_settimeout.png
0

WebStorm uses JSDoc comments in library files for quick documentation. setTimeOut() is defined as follows in DHTML.js:

/**
@param {String|Function} code
@param {number} delay
@return {number}
*/
Window.prototype.setTimeout = function(code,delay) {};



You can copy file content to a different file and modify the doc comments in the way you like. Everything written in /** */ comments attached to object will appear in  quick doc. Even inline comments preceding the declaration will be  parsed. You can use HTML tags to make your documentation look better.
Then configure the modified file as a library in Settings/javascript/libraries. Make sure to disable 'HTML' library to avoid confusion

0

Please sign in to leave a comment.