Synchronize action listener

I need to execute some code when the synchronize action is executed(either before or after, doesn't make a diference). Anybody knows how to do this ?


Thanks

Hugo

3 comments
Comment actions Permalink

Do you specifically need to be notified of synchornize which is currently
impossible, or VirtualFileListener would do?

"Hugo Palma" <no_mail@jetbrains.com> wrote in message
news:13728414.1122482246234.JavaMail.javamailuser@localhost...
>I need to execute some code when the synchronize action is executed(either
>before or after, doesn't make a diference). Anybody knows how to do this ?
>
>

Thanks

>

Hugo



0
Comment actions Permalink

Doesn't VirtualFileListener have to be tied to a specific file ?
If it's impossible to be notified of synchronize then i have to be notified of every file change. Is this possible with VirtualFileListener ?

0
Comment actions Permalink


"Hugo Palma" <no_mail@jetbrains.com> wrote in message
news:12067818.1122548110873.JavaMail.javamailuser@localhost...

Doesn't VirtualFileListener have to be tied to a specific file ?

Yes it does

If it's impossible to be notified of synchronize then i have to be
notified of every file change. Is this possible with VirtualFileListener ?

Well, what if synchronize does not refresh any files? Could you please
detail your usecase?


0

Please sign in to leave a comment.