- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Freezes with IDEA when trying to edit ~700 line file
I've run into a nasty problem trying to deal with a Lift file of about 700 lines; when I try to do a simple edit (copy a line of the form "def foo ="string"") and paste it a few lines up, IDEA freezes. This is consistent, and happens whether or not the "Scala type-aware highlighting" feature is enabled. Even turning off all Scala Inspections hasn't helped. I've encountered occasional freezes in IDEA before, but never with the consistency. Anyone have suggestions as to other things to try?
Thanks,Ken
Thanks,Ken










Re: Freezes with IDEA when trying to edit ~700 line file
It appears the problem _may_ be due to IDEA running XML inspections on XML embedded in the Scala file. I turned of XML inspection, and haven't had a freeze in about ten minutes--whereas before, the first attempted edit of the file would freeze IDEA.
Re: Re: Freezes with IDEA when trying to edit ~700 line file
Hey Ken,
there's probably more than one source of locks and hangs in IDEA. As a
first measure you can increase the delay after which IDEA is starting
to calculate things after your changes, e.g. with the "Autoreparse
delay" or "Autopopup completion in", I searched in the Settings for
"ms" (milliseconds) to find those settings.
If you want to report those hangs to jetbrains, here's how to do:
http://devnet.jetbrains.net/docs/DOC-260
Johannes
On Tue, Jul 26, 2011 at 12:53 AM, Ken McDonald wrote:
> It appears the problem _may_ be due to IDEA running XML inspections on XML
> embedded in the Scala file. I turned of XML inspection, and haven't had a
> freeze in about ten minutes--whereas before, the first attempted edit of the
> file would freeze IDEA.
Re: Re: Freezes with IDEA when trying to edit ~700 line file
On Tue, Jul 26, 2011 at 10:12 AM, Johannes Rudolph <johannes [dot] rudolph [at] googlemail [dot] com> wrote:
Re: Re: Freezes with IDEA when trying to edit ~700 line file
Ken