Editor is incredibly slow for big files?

Hello

I am a total newbie to IntelliJ, I was evaluating it for use as a possible editor/IDE in a commercial Lua project.

It looks very powerful with lots of interesting features (if a bit daunting in its complexity)

However within a few minutes of experimenting I hit a total showstopper problem. (Running Win7 on a top of the range quadcore SandyBridge CPU)

If I edit a new file, the editor speed is perfectly normal and usable. If I try to edit an existing file (approx 3,500 lines of text) the editor character lag becomes so bad that it is impossible to use.
I would estimate that even with my not so hot typing speeds I can get up to 10 or 12 characters ahead of the editor, so that I have to keep pausing for 1 to 2 seconds to let the editor catch up and let it eventually splurge out those 10 or so buffered characters.

I have turned off every feature I could think of that might slow it down for a big file, all plugins are disabled, I have turned off code inspection, nothing made any discernable improvements.

I searched the forums a bit and found complaints about slow editing dating back to 2005 ? Is this really just a problem that exists with this IDE ? If that is the case, its pointless carrying on my evaluation of this as not being able to type and edit sensibly is a total killer.

Thanks for any possible tips, solutions ?

Regards Geoff

6 comments
Comment actions Permalink

Hello Geoff,

What's the type of the file that you're trying to edit?

Please submit a CPU snapshot as described in http://devnet.jetbrains.net/docs/DOC-192

I am a total newbie to IntelliJ, I was evaluating it for use as a
possible editor/IDE in a commercial Lua project.

It looks very powerful with lots of interesting features (if a bit
daunting in its complexity)

However within a few minutes of experimenting I hit a total
showstopper problem. (Running Win7 on a top of the range quadcore
SandyBridge CPU)

If I edit a new file, the editor speed is perfectly normal and usable.
If I try to edit an existing file (approx 3,500 lines of text) the
editor character lag becomes so bad that it is impossible to use.

I would estimate that even with my not so hot typing speeds I can get
up to 10 or 12 characters ahead of the editor, so that I have to keep
pausing for 1 to 2 seconds to let the editor catch up and let it
eventually splurge out those 10 or so buffered characters.

I have turned off every feature I could think of that might slow it
down for a big file, all plugins are disabled, I have turned off code
inspection, nothing made any discernable improvements.

I searched the forums a bit and found complaints about slow editing
dating back to 2005 ? Is this really just a problem that exists with
this IDE ? If that is the case, its pointless carrying on my
evaluation of this as not being able to type and edit sensibly is a
total killer.

Thanks for any possible tips, solutions ?


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Hi, Geoff.
I believe the porblem is Lua plugin which are using most probably. If you're, afaik there were some problems with multiline literals/comments. You can play with it to check am i right or not.

regards, Alex

0
Comment actions Permalink

Hi

Thanks for the responses.  As you say, I think it is the Lua plugin itself that is causing the problem. If I disable that pluging and edit the *.lua file as a plain text file, the editor speeds up to normal usable speed again on a big file. To prove the point, I wanted to switch back to editing it as a lua file, but I cant figure out how to do that just now. I have re-enabled the plugin but it is still treating the *.lua files now as just plain text.

Any tips please on how to make it use the lua plugin again, other than just re-enable it ?

Thanks Geoff

0
Comment actions Permalink

reasign *.lua files (remove it from being treeated as text files)
Settings > File types
and select  Text Files..
hth

0
Comment actions Permalink

Hi

Found that now, thanks for the tip

It did confirm that the slowdown is caused by the Lua plugin itself, re-enabled and I am wading through treacle again :(

Thats a big shame, this IDE looked very powerful and interesting in what I had discovered and figured out so far.

As I was specifically needing the IDE for Lua, this is a showstopper for me. Does anyone know the status of this Lua plugin, is anyone working on it now ? Any likelihood of it being fixed ?

Regards Geoff

0
Comment actions Permalink

it seems to be active: https://bitbucket.org/sylvanaar2/lua-for-idea/changesets
(and it is opensource so you could contribute)
cheers
/m

0

Please sign in to leave a comment.