phpstorm - Firefox addon development using JetBrains WebStorm. What to do with numerous warnings? -
i developing firefox addon now. have tried lot of ides javascript , ended jetbrains webstorm. when opened project(about 1000 lines) in webstorm first time showed me 500 warnings. of warnings "unresolved function or method" , "unresolved variable or type".
for example 2 lines contain 4 warnings:
let sss = cc["@mozilla.org/content/style-sheet-service;1"].getservice(ci.nsistylesheetservice); sss.loadandregistersheet(uri, sss.author_sheet);
- getservice (unresolved function or method)
- nsistylesheetservice (unresolved variable)
- loadandregistersheet (unresolved function or method)
- author_sheet (unresolved variable)
for disabled warnings. maybe it's not best way handle problem? there "libraries" in webstorm jquery, ext js, prototype, dojo , other. , custom javascript library can added. there way add/create such custom library? or there way handle warning not disabling them @ all?
p.s. there's komodo ide provides such autocompletions:
and thought maybe extracted komodo ide , added webstorm library.
i have solved issue cloning repository , adding lib/sdk directory new library under settings->languages & frameworks->javascript->libraries.
Comments
Post a Comment