Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1086)

Issue 11186051: Auto-save for the Dart Editor. (Closed)

Created:
8 years, 2 months ago by jwren
Modified:
8 years, 2 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Auto-save for the Dart Editor. Note: this CL is not done yet, it will include a preference to turn on auto-save. I wanted to push it out to people to get feedback. I thought that it would be smart to include it in the reconciliation logic to prevent extra reconciliation from being triggered from the save. Also, by including it with reconciliation, it prevents us from needing to add a timer/loop to automatically save in the Editor. http://code.google.com/p/dart/issues/detail?id=2960

Patch Set 1 #

Total comments: 3

Patch Set 2 : Incremental work #

Patch Set 3 : 2 nits. #

Total comments: 2

Messages

Total messages: 8 (0 generated)
jwren
8 years, 2 months ago (2012-10-18 17:16:59 UTC) #1
Brian Wilkerson
Other than the fact that I think this whole "feature" is a really bad idea, ...
8 years, 2 months ago (2012-10-18 17:53:20 UTC) #2
jwren
Updated the CL to include a new preference "Auto save". I moved the "time since ...
8 years, 2 months ago (2012-10-22 11:56:37 UTC) #3
jwren
8 years, 2 months ago (2012-10-22 13:34:37 UTC) #4
Brian Wilkerson
I still think this whole "feature" is a really bad idea (I much prefer Dan's ...
8 years, 2 months ago (2012-10-22 13:57:17 UTC) #5
messick
I'm concerned that reconciliation may not be the best place to hook auto-save. Long-term, I ...
8 years, 2 months ago (2012-10-22 15:02:06 UTC) #6
danrubel
lgtm http://codereview.chromium.org/11186051/diff/10001/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/AutoSaveDartEditorManager.java File editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/AutoSaveDartEditorManager.java (right): http://codereview.chromium.org/11186051/diff/10001/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/AutoSaveDartEditorManager.java#newcode54 editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/AutoSaveDartEditorManager.java:54: e.printStackTrace(); On 2012/10/22 13:57:17, Brian Wilkerson wrote: > ...
8 years, 2 months ago (2012-10-22 15:03:15 UTC) #7
scheglov
8 years, 2 months ago (2012-10-22 15:26:43 UTC) #8
lgtm, but I'm also concerned if auto-save is what we want.
I'd more liked to have saved state and analyze everything on disk and in
editors.

Powered by Google App Engine
This is Rietveld 408576698