Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-18398

Shebang for Node.js is not supported

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.3.0.CR1
    • 4.2.0.CR1
    • javascript, upstream
    • None

    Description

      Shebang in javascript file is reported by IDE as an error.

      #!/usr/bin/env node
      
      /* jshint laxbreak:true */
      
      var util = require('util');
      var fs = require('fs');
      var prompt = require('prompt');
      

      shows marker with following text on line 1:
      Multiple markers at this line

      • Syntax error on tokens, delete these tokens
      • Syntax error on token "Invalid Regular Expression Options", no accurate correction

      Attachments

        Activity

          People

            vrubezhny Victor Rubezhny (Inactive)
            kpiwko Karel Piwko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: