This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 156562 - Extremely long pauses whenever operators are involved
Summary: Extremely long pauses whenever operators are involved
Status: NEW
Alias: None
Product: contrib
Classification: Unclassified
Component: Scala (show other bugs)
Version: 6.x
Hardware: All Linux
: P3 blocker (vote)
Assignee: _ dcaoyuan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-11 04:07 UTC by wy2lam
Modified: 2009-01-11 04:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wy2lam 2009-01-11 04:07:40 UTC
Netbeans 6.5, Scala 2.7.2

For example, type "if (3+"

The editor would then lock up for at least 15 seconds (Athlon64 3000+, 2GB of RAM, 1GB of free physical RAM), and then
it underlines my code in red - of course that would happen, because I haven't finished typing.

It seems that in some cases, the plugin needs to invoke the Scala compiler in order to inspect for errors as I type - is
it possible to introduce a "pause delay" where absolutely no error checking is performed except after X seconds of
editor inactivity?

As a palliative measure, is it possible to have an option to turn off calling Scala compiler altogether, even at the
expense of losing code inspection?
Comment 1 wy2lam 2009-01-11 04:15:49 UTC
Normally I'd expect an IDE to call the compiler from time to time, but this pause is longer than anything I have
experienced in a Java IDE to the point it becomes extremely annoying.

I'm working around it by typing my code within comments, and then when I think it's done, uncomment the code.  It
negates a lot of nice features an IDE provides, like on-the-fly highlighting.  However, without doing so it's driving my
nuts.