Code inspection error

Issue #816 resolved
Michael Huffaker created an issue

Screenshot_1.jpg

Comments (4)

  1. Scott Wells repo owner

    Michael, this particular code inspection is one of IntelliJ IDEA's/WebStorm's own, not one provided by IC. Let me take a look and see if somehow IC is interfering with the native JS capabilities as I'd expect it to be able to resolve console no problem. What kind of file is this? Just a .js file or is it embedded in Visualforce/Lightning markup?

  2. Michael Huffaker reporter

    Hi Scott, ah ok I didn't know that it was related to IntelliJ IDEA because I had never seen those inspection errors prior to upgrading to IC2. This code is actually just located in a local file that contains some code snippets that I used for a quick copy and paste when I need them. I just tested Console in my other files and it seems to work fine so if you would like to close out this ticket that would be ok with me. :)

  3. Scott Wells repo owner

    Gotcha. That makes total sense. IntelliJ IDEA/WebStorm knows to make the browser libs available when editing browser source files such as HTML, JSP, and with IC, Visualforce and Lightning markup. However, if you're just editing a standalone .js file it won't bring in things like console, hence the errors. I'm going to resolve this since it's not an IC issue.

  4. Log in to comment