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

Unified Diff: editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/internal/corext/refactoring/RefactoringCoreMessages.properties

Issue 10384142: Initial support for 'Extract temp' - only when single expression selected (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Use ASTVisitor as type switch Created 8 years, 7 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
Index: editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/internal/corext/refactoring/RefactoringCoreMessages.properties
diff --git a/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/internal/corext/refactoring/RefactoringCoreMessages.properties b/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/internal/corext/refactoring/RefactoringCoreMessages.properties
index fb6dbf23b82a6dc7bff350f7765f4753e5425823..315a9e22ef59631fbe85024bb4ccc7878fac4598 100644
--- a/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/internal/corext/refactoring/RefactoringCoreMessages.properties
+++ b/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/internal/corext/refactoring/RefactoringCoreMessages.properties
@@ -75,6 +75,15 @@ RenameFieldProcessor_name=Rename Field
# Rename type method
RenameMethodProcessor_name=Rename Method
+#########################################################################################
+# Extract local variable refactoring
+#########################################################################################
+ExtractLocalRefactoring_name=Extract Local Variable
+ExtractLocalRefactoring_select_expression=An expression must be selected to activate this refactoring.
+ExtractLocalRefactoring_checking_preconditions=Checking preconditions...
+ExtractLocalRefactoring_declare_local_variable=Add variable declaration
+ExtractLocalRefactoring_replace=Replace expression with variable reference
+
@@ -330,8 +339,6 @@ InlineTempRefactoring_for_initializers=Cannot inline variables declared in the i
InlineTempRefactoring_original_pattern=Original element: ''{0}''
#-- extract temp ------------------------------------------------------
-ExtractTempRefactoring_name=Extract Local Variable
-ExtractTempRefactoring_select_expression=An expression must be selected to activate this refactoring.
ExtractTempRefactoring_explicit_constructor=Code from explicit constructor calls cannot be extracted to a variable.
ExtractTempRefactoring_expression_pattern=Variable expression: ''{0}''
ExtractTempRefactoring_expr_in_method_or_initializer=An expression used in a method or in an initializer must be selected to activate this refactoring.
@@ -342,11 +349,8 @@ ExtractTempRefactoring_array_initializer=Operation not applicable to an array in
ExtractTempRefactoring_another_variable=A variable with name ''{0}'' is already defined in the visible scope.
ExtractTempRefactoring_assignment=Cannot extract assignment that is part of another expression.
ExtractTempRefactoring_convention=This name is discouraged. According to convention, names of local variables should start with a lowercase letter.
-ExtractTempRefactoring_checking_preconditions=Checking preconditions...
-ExtractTempRefactoring_declare_local_variable=Add variable declaration
ExtractTempRefactoring_descriptor_description=Extract local variable ''{0}'' from expression ''{1}''
ExtractTempRefactoring_descriptor_description_short=Extract local variable ''{0}''
-ExtractTempRefactoring_replace=Replace expression with variable reference
ExtractTempRefactoring_name_in_new=Cannot extract this name - try selecting the whole instance creation expression.
ExtractTempRefactoring_name_pattern=Variable name: ''{0}''
ExtractTempRefactoring_names_in_declarations=An expression has to be selected to activate this refactoring. Names used in declarations are not expressions.

Powered by Google App Engine
This is Rietveld 408576698