Skip to content

Unresolved variable warning doesn't know basic libraries #22

Open

Description

@unv-unv

JavaScript error highlighting doesn't know about setInterval, XMLHttpRequest methods, Date:

if (!UITableInputBase.pingInterval) { UITableInputBase.pingInterval = setInterval( function () { var http = new XMLHttpRequest(); http.open("get", "/version.txt?rnd=" + new Date().getTime(), true); http.send(null); }, 300 * 1000 ); }

изображение

изображение

изображение

Activity

  1. self-assigned this
    on Jun 14, 2020
  2. VISTALL commented on Jun 14, 2020

    @VISTALL
    Member

    Hello. JS plugin have limited resolving, almost all in local scope.

    I'm planing to make more powerful implementation (like support debugging inside browser https://github.com/consulo/chrome-consulo-debugger-extension, jsx, etc)

  3. unv-unv commented on Jun 14, 2020

    @unv-unv
    ContributorAuthor

    Hi. Then please say how to disable this warning since it's not helpful and really annoying.

  4. VISTALL commented on Jun 14, 2020

    @VISTALL
    Member

    In popup -> More Actions, first popup item (arrow right) -> Edit Inspections

    and disable them

    https://klikr.org/5e570cd99358c3e3d078e6bc0d32.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions