]
Victor Rubezhny commented on JBIDE-18398:
-----------------------------------------
Shebang will be supported by JSDT since WTP 3.7M7, see:
[Bug 462283 - JavaScript Editor complains on Shebang (#!)
Shebang for Node.js is not supported
-------------------------------------
Key: JBIDE-18398
URL:
https://issues.jboss.org/browse/JBIDE-18398
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: upstream
Affects Versions: 4.2.0.CR1
Environment: JBDS 8.0.0.CR1
Reporter: Karel Piwko
Assignee: Victor Rubezhny
Fix For: 4.3.x
Shebang in javascript file is reported by IDE as an error.
{code}
#!/usr/bin/env node
/* jshint laxbreak:true */
var util = require('util');
var fs = require('fs');
var prompt = require('prompt');
{code}
shows marker (x) 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