Server-side Javascript in Java
first of all I think Intellij has great javascript support. Is there going to be java serverside javascript support? For example, intelligent import statements, or code completion or syntax highlight?
Please sign in to leave a comment.
Hello Steve,
I don't quite understand your question. Syntax highlighting for JavaScript
doesn't care about whether your JavaScript is client-side or server-side;
the syntax is the same. Most of the code completion features work equally
well, too.
Do you mean some specific server-side JavaScript environment such as NodeJS?
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Thanks for the respose Dmitry,
What I meant was java object recognition within a javascript file using java script engine support. If I'm using Mozilla Rhino Scripting engine all of the javascript syntax is hghlighted; however If i were to use a java object within that javascript, there isn't any syntactical support.
In the very simple attached script file the importClass function is unresovled and the logger.info method is unknown.
Attachment(s):
HelloScriptEngine.java.zip
hello.js
Thanks for the clarification!
There's an old feature request related to Rhino support: http://youtrack.jetbrains.net/issue/IDEA-16266
Don't know if it has much chance of being implemented soon, though.