[jbosstools-issues] [JBoss JIRA] (JBIDE-18398) Shebang for Node.js is not supported
Max Rydahl Andersen (JIRA)
issues at jboss.org
Mon Sep 22 04:30:03 EDT 2014
[ https://issues.jboss.org/browse/JBIDE-18398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13004582#comment-13004582 ]
Max Rydahl Andersen commented on JBIDE-18398:
---------------------------------------------
thats upstream eclipse issue unfortunately ;/
[~vrubezhny] can you add this to bugs.eclipse.org and see if/how we can fix it?
workaround: don't mixin node.js javascript files into your webapp sources :)
> 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
>
> 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
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
More information about the jbosstools-issues
mailing list