[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [photran] Editor slow or hangs
|
Jeff,
I'm not sure this explains why the editor is hanging though. In CDT, I can continue to work on the project while it is re-indexing; this happens in the background. Photran should really do the same thing.
Greg
On May 13, 2011, at 10:16 AM, Jeffrey Overbey wrote:
>> Seems like the photran editor either hangs or is extremely slow when the
>> analysis and refactoring are turned on. Is there any solution to this? I
>> ...
>> My project is fairly complex with about 10 modules, each with a dozen
>
> That is almost certainly what is causing the slowness. You have
> discovered why analysis/refactoring is turned off by default on new
> projects. :-)
>
> There are two factors.
>
> One is the total size of your project and the dependencies in it. If
> you have a module in one file but nine other files depend on it, then
> when you update that file, the Photran indexer will re-index all ten
> files (check out the Progress view).
>
> Another factor is the size of the file in the editor. When
> analysis/refactoring is on, Photran occasionally has to re-analyze the
> contents of the editor so that content assist, the Fortran Declaration
> view, etc. will have more-or-less up-to-date information. For small
> files, this probably isn't noticeable. If the file in the editor is
> large (say, more than a few hundred lines), though, you'll probably
> notice a delay.
>
> Jeff
> _______________________________________________
> photran mailing list
> photran@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/photran