Edit file in editor event

I need to determine what the user started to edit a file in an editor. How it can be implemented?

3 comments
Comment actions Permalink

Hello Alex,

I need to determine what the user started to edit a file in an editor.
How it can be implemented?


You need to subscribe to the FileEditorManagerListener.FILE_EDITOR_MANAGER
topic and handle the fileOpened() notification. You can find a number of
usage examples for this in the CE source code.

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


0
Comment actions Permalink

Hello Dmitriy

Thanks, but this is not exactly what I need, I need to know that the user is edit file and not only open, is it possible?

Thanks, Alex

0
Comment actions Permalink

Hello Alex,

Thanks, but this is not exactly what I need, I need to know that the
user is edit file and not only open, is it possible?


What exactly do you want to achieve?

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


0

Please sign in to leave a comment.