File Watcher and synchronize - automatically?

Once we do changes in the files out of IntelliJ, the changes are shown in the ide.log
However, the editor doesn't reread these files, unless we asked for it explicitly by clicking the Synchronize button.

1. Is this the normal behaviour? I expect that once the editor gets the events, it will refresh automatically.
2. If this indeed the designed behaviour, does synchronize scan only the changed files, or go over all the files in the project?
3. How can we tell when synchronize has finished?

5 comments
Comment actions Permalink

What OS on are you on?

0
Comment actions Permalink

Windows XP

Thanks
Boaz

0
Comment actions Permalink

Once we do changes in the files out of IntelliJ, the
changes are shown in the ide.log
However, the editor doesn't reread these files,
unless we asked for it explicitly by clicking the
Synchronize button.

1. Is this the normal behaviour? I expect that once
the editor gets the events, it will refresh
automatically.

The synchronization is run automatically if you have "Synchronize files on frame activation" option on.

2. If this indeed the designed behaviour, does
synchronize scan only the changed files, or go over
all the files in the project?

In case file watcher is available, the synchronization is sped up by analyzing only changed files indeed.

3. How can we tell when synchronize has finished?

From user point of view async synchronization is truly transparent, the only way to tell sync is being performed is to watch status bar messages. But you are likely to miss one if the synchronizstion is fast enough.

0
Comment actions Permalink

Eugene,

Is there any chance to get a Win 64bit file watched in 6.5 version? More and
more people are moving on 64 bit windows. I've been running Demetra on 64bit
1.6 server VM and have never had any performance issues people reported here
:)

Alex

"Eugene Vigdorchik" <no_reply@jetbrains.com> wrote in message
news:21998214.1164277568405.JavaMail.itn@is.intellij.net...
>> Once we do changes in the files out of IntelliJ, the
>> changes are shown in the ide.log
>> However, the editor doesn't reread these files,
>> unless we asked for it explicitly by clicking the
>> Synchronize button.
>>
>> 1. Is this the normal behaviour? I expect that once
>> the editor gets the events, it will refresh
>> automatically.

The synchronization is run automatically if you have "Synchronize files on
frame activation" option on.

>
>> 2. If this indeed the designed behaviour, does
>> synchronize scan only the changed files, or go over
>> all the files in the project?

In case file watcher is available, the synchronization is sped up by
analyzing only changed files indeed.

>
>> 3. How can we tell when synchronize has finished?

From user point of view async synchronization is truly transparent, the
only way to tell sync is being performed is to watch status bar messages.
But you are likely to miss one if the synchronizstion is fast enough.



0
Comment actions Permalink

Alex,

Yep, 64 bit file watcher must indeed be included into distribution. Could you file a request for me not to forget?
Eugene.

0

Please sign in to leave a comment.