slow while editing large files
(SHADE 2250)
C/C++ editor has a special scalability mode. When the number of lines in a file exceeds a specified limit, some functionality( live parsing, syntax coloring, content assist) is disabled. There is a preference page where such options are set.
It would be really useful to add similar functions to ErlIDE.
C/C++ editor has a special scalability mode. When the number of lines in a file exceeds a specified limit, some functionality( live parsing, syntax coloring, content assist) is disabled. There is a preference page where such options are set.
It would be really useful to add similar functions to ErlIDE.
Leave a comment
on 2011-09-27 10:58 *
By Vlad Dumitrescu
Component changed from None to editing support
Component changed from None to editing support
on 2011-09-27 10:58 *
By Vlad Dumitrescu
Component changed from editing support to code model
Component changed from editing support to code model
on 2011-10-14 11:33 *
By Vlad Dumitrescu
Assigned to set to Vlad Dumitrescu
Assigned to set to Vlad Dumitrescu
on 2011-11-14 13:20 *
By Vlad Dumitrescu
Milestone changed from sprint #25 - 0.13.7 to sprint #26
Milestone changed from sprint #25 - 0.13.7 to sprint #26
on 2011-11-23 22:13 *
By Vlad Dumitrescu
One problem is that when a new line is entered, indent_line is called and from what I see it gets the whole file up to it -- which if we are at the end of a huge file, can be a lot.
some more investigation is needed
some more investigation is needed
on 2011-11-24 10:36 *
By Vlad Dumitrescu
Ok, located both culprits: autoindentation at newline and refreshing the outline.
Now the question is how to either run them in a separate thread or skip them for large files.
refresh outline might have to be run in the ui thread...
Now the question is how to either run them in a separate thread or skip them for large files.
refresh outline might have to be run in the ui thread...
- how to detect a large file?
- when do we do these operations? (they should be executed sometime...)
on 2011-11-24 10:37 *
By Vlad Dumitrescu
Priority changed from Normal (3) to High (2)
Priority changed from Normal (3) to High (2)
on 2011-11-27 18:08 *
By Vlad Dumitrescu
Fixed autoindentation.
The outline was not such a big problem, but parsing the file is. I'd like to investigate how much of the time is taken by the communication with erlang and back.
The outline was not such a big problem, but parsing the file is. I'd like to investigate how much of the time is taken by the communication with erlang and back.
on 2011-12-08 13:10 *
By Vlad Dumitrescu
Status changed from Ongoing to Test
Status changed from Ongoing to Test
We have some improvements for the performance, setting this as fixed so that we can test it in shade.