Uploaded image for project: 'Aptana Studio'
  1. Aptana Studio
  2. APSTUD-4731

Files outside of projects do not get validated by jsLint

    Details

    • Story Points:
      13

      Description

      Since the last update to 2.0.1.201204132053-13042012205605, js files that are opened - and are not part of a Titanium project - do not get validated by jsLint. If you open a js file that is in a project and make an error, the error appears straight away.
      The same is not true for files outside projects, they don't get validated at all.

      To Test

      1. Create a new JS file on your desktop. Ensure that JSLint validation is on in preferences
      2. Add the following content:

        function test1() {
         
        var a = 0;
        var b = null;
        var a = null;
         
        }
        

      3. Drag the file from the desktop into the editor area of Studio to open it (or open it via the File menu or Local Filesystem node)
      4. In 3.0.9, you will be warned about the duplicate assignment of a. In 3.1.1, the validation doesn't happen.

        Attachments

          Activity

            People

            • Assignee:
              cwilliams Christopher Williams
              Reporter:
              ben.periton Ben Periton
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Integration