JavaScript support
Hi.
A Q for JetBrains: Is JavaScript support considered done for Irida?
It is a step in the right direction but doesn't cover everything yet.
I like the auto completion but it doesn't recognize class members or
cross file completion.
I think there is a bug in the auto insert of curly brackets.
Examples ( means pressing Enter and | denotes cursor position):
enter this:
function foo { ]]>
You get:
function foo {
|
}
cursor is not indented.
enter this inside the function:
if (true) {
You get:
function foo {
if (true}
|
}
}
cursor and inserted bracket are not aligned.
If you add more nested blocks the same thing happens, they never get
indentation.
Is that known or experienced by others on 3144?
Please sign in to leave a comment.
Hi,
There is no formatting for javascript (or any other custom file type)
yet. We will provide a simple brace-based one for Irida.
Any other JS functionality (except JS working in JSP) is not planned
currently for Irida (please, see
http://www.intellij.net/tracker/idea/viewSCR?publicId=12309 for details)
Amnon I. Govrin wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Thanks for showing me (and it's my own post, hehe...).
Amnon
Maxim Mossienko wrote:
>> Hi.
>>
>> A Q for JetBrains: Is JavaScript support considered done for Irida?
>>
>> It is a step in the right direction but doesn't cover everything yet.
>>
>> I like the auto completion but it doesn't recognize class members or
>> cross file completion.
>>
>> I think there is a bug in the auto insert of curly brackets.
>>
>> Examples ( means pressing Enter and | denotes cursor position): >> >> enter this: >> function foo { >> >> You get: >> function foo { >> | >> } >> cursor is not indented. >> >> enter this inside the function: >> if (true) { >> You get: >> function foo { >> if (true} >> | >> } >> } >> >> cursor and inserted bracket are not aligned. >> >> If you add more nested blocks the same thing happens, they never get >> indentation. >> >>]]> Is that known or experienced by others on 3144?