JSP edittin in recent releases (including 7027 )

I've just started doing some more serious javascript editting in IDEA for the first time.
I notice that when I do command complete on variables IDEA pauses for a long time and then basically stops working correctly. The command compplete suggestions are wrong and I get type on that line any more.

For example:

var startDate = YAHOO.widget.DateMath.add(this._toDate(selected[0]), "D", -7);
startDateLabel.value = startDate.

If command complete after " startDate." I get

__defineGetter_

i.e.

var startDate = YAHOO.widget.DateMath.add(this._toDate(selected[0]), "D", -7);
startDateLabel.value = startDate.__defineGetter_


and everything is else after that is pretty screwy.

Is this a known issue that I don't know about?

I am doing something wrong?

I can provide more info as required, but would like to hear from anyone else if they think is jsp / javascript editing in recent EAPs is a good idea or not based on the current state of functionality.

Thanks in advance, Spencer

1 comment

Please, file JIRA issue with complete jsp example.

Spencer Marks wrote:

I've just started doing some more serious javascript editting in IDEA for the first time.
I notice that when I do command complete on variables IDEA pauses for a long time and then basically stops working correctly. The command compplete suggestions are wrong and I get type on that line any more.

For example:

var startDate = YAHOO.widget.DateMath.add(this._toDate(selected[0]), "D", -7);
startDateLabel.value = startDate.

If command complete after " startDate." I get

__defineGetter_

i.e.

var startDate = YAHOO.widget.DateMath.add(this._toDate(selected[0]), "D", -7);
startDateLabel.value = startDate.__defineGetter_


and everything is else after that is pretty screwy.

Is this a known issue that I don't know about?

I am doing something wrong?

I can provide more info as required, but would like to hear from anyone else if they think is jsp / javascript editing in recent EAPs is a good idea or not based on the current state of functionality.

Thanks in advance, Spencer



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Please sign in to leave a comment.