Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-3288

JavaScript style checks in code editor

    XMLWordPrintable

Details

    Description

      The editor now checks for common problems in JavaScript code, like

      • duplicate or conflicting var, function and formal parameter declarations
      • use of vars and functions before their declaration
      • == or != with 0, null, true, false, undefined and "
      • comma expressions (outside of for statements)
      • expression statements (unless calls, assignments or delete)
      • assignments in a condition (like if (a = b))
      • case blocks in a switch that don't end with return, break, continue or throw and are not empty
      • nested block statements
      • with statements
      • void expressions

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ckamm Christian Kamm
            owerfeldt Carsten Owerfeldt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes