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

Unified Diff: pkg/analysis_server/tool/spec/spec_input.html

Issue 587553002: API proposal for the MOVE_FILE refactoring. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: add MoveFileOptions.java Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analysis_server/test/integration/protocol_matchers.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/tool/spec/spec_input.html
diff --git a/pkg/analysis_server/tool/spec/spec_input.html b/pkg/analysis_server/tool/spec/spec_input.html
index a7598f4483d15a3bdbd75938a66fb7880649a802..ea38c544b3c5ff966caf93ffd59e03f18a2b9366 100644
--- a/pkg/analysis_server/tool/spec/spec_input.html
+++ b/pkg/analysis_server/tool/spec/spec_input.html
@@ -3268,6 +3268,29 @@
</field>
</options>
</refactoring>
+ <refactoring kind="MOVE_FILE">
+ <p>
+ Move the given file and update all of the references to that file
+ and from it. The move operation is supported in general case - for
+ renaming a file in the same folder, moving it to a different folder
+ or both.
+ </p>
+ <p>
+ The refactoring must be activated before an actual file moving
+ operation is performed.
+ </p>
+ <p>
+ The "offset" and "length" fields are ignored.
Brian Wilkerson 2014/09/19 13:48:22 "fields are ignored." --> "fields from the request
+ </p>
+ <options>
+ <field name="newFile">
+ <ref>FilePath</ref>
+ <p>
+ The new file path to which the given file is being moved.
+ </p>
+ </field>
+ </options>
+ </refactoring>
<refactoring kind="RENAME">
<p>
Rename a given element and all of the references to that
« no previous file with comments | « pkg/analysis_server/test/integration/protocol_matchers.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698