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); 
  1. getservice (unresolved function or method)
  2. nsistylesheetservice (unresolved variable)
  3. loadandregistersheet (unresolved function or method)
  4. 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: komodo ide

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

Popular posts from this blog

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -