Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [che-dev] Refactoring & Open Editors

I believe that all changes are ultimately saved before the actions are invoked. Otherwise you end up into situations where there can be weird race conditions.

Vitalii, Evgen, Anatoliy, or Dmitry would have the precise answer.


Tyler Jewell | CEO | tyler@​codenvy.​com | 9​78​.8​84​.53​55

On Fri, Mar 3, 2017 at 10:00 AM, Thomas Mäder <tmader@xxxxxxxxxx> wrote:
Hi folks,

I'm thinking about how to implement refactorings and quick fixes for the language server protocol. I've looked at the how refactorings are implemented for the Java language in Che, and it seems that all changes are delegated to a JDT instance running in the workspace. What I don't understand is how the case of unsaved changes in editors are handled in that case. Are editor contents automatically saved before actions are invoked or is there some mechanism that I don't understand to reconcile the changes?

thx for any insights,

/Thomas


_______________________________________________
che-dev mailing list
che-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/che-dev


Back to the top