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

Unified Diff: pkg/analysis_server/lib/src/services/completion/local_suggestion_builder.dart

Issue 1310263003: Reformat code to minimize churn (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 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
Index: pkg/analysis_server/lib/src/services/completion/local_suggestion_builder.dart
diff --git a/pkg/analysis_server/lib/src/services/completion/local_suggestion_builder.dart b/pkg/analysis_server/lib/src/services/completion/local_suggestion_builder.dart
index 324e1a71ddb477edd6fb4f70bf74d077f9445288..74d5c95c3e94748604734361d0fc6aa3df899558 100644
--- a/pkg/analysis_server/lib/src/services/completion/local_suggestion_builder.dart
+++ b/pkg/analysis_server/lib/src/services/completion/local_suggestion_builder.dart
@@ -22,7 +22,9 @@ final TypeName NO_RETURN_TYPE = new TypeName(
*/
protocol.Element createElement(
Source source, protocol.ElementKind kind, SimpleIdentifier id,
- {String parameters, TypeName returnType, bool isAbstract: false,
+ {String parameters,
+ TypeName returnType,
+ bool isAbstract: false,
bool isDeprecated: false}) {
String name;
Location location;
@@ -75,9 +77,14 @@ CompletionSuggestion createSuggestion(SimpleIdentifier id, bool isDeprecated,
}
CompletionSuggestion suggestion = new CompletionSuggestion(
CompletionSuggestionKind.INVOCATION,
- isDeprecated ? DART_RELEVANCE_LOW : defaultRelevance, completion,
- completion.length, 0, isDeprecated, false,
- returnType: nameForType(returnType), element: element);
+ isDeprecated ? DART_RELEVANCE_LOW : defaultRelevance,
+ completion,
+ completion.length,
+ 0,
+ isDeprecated,
+ false,
+ returnType: nameForType(returnType),
+ element: element);
if (classDecl != null) {
SimpleIdentifier classId = classDecl.name;
if (classId != null) {

Powered by Google App Engine
This is Rietveld 408576698