Where should I find or how to create a library to remove the warnings about unresolved variables/types?
Examples:
var fs=window.webkitRequestFileSystem; //Unresolved variable webkitRequestFileSystem
var audio=new Audio(); //Unresolved type Audio
Where should I find or how to create a library to remove the warnings about unresolved variables/types?
Examples:
var fs=window.webkitRequestFileSystem; //Unresolved variable webkitRequestFileSystem
var audio=new Audio(); //Unresolved type Audio
Download the Closure Compiler.
Unpack the .js files from externs.zip, there will be fileapi.js file, add this file to the JavaScript libraries in PhpStorm to get the code completion and resolution.
You may want to create a library with all these .js files in case you are using other APIs.
chrome object so I created a library using chrome.js from externs.zip.