| Index: pkg/analysis_server/lib/src/services/completion/dart_completion_manager.dart
|
| diff --git a/pkg/analysis_server/lib/src/services/completion/dart_completion_manager.dart b/pkg/analysis_server/lib/src/services/completion/dart_completion_manager.dart
|
| index 5b1acbe37d00121ed153d98bc29a934825445c34..65e3a46187c4f916e23437caf99d0bd0fe9506da 100644
|
| --- a/pkg/analysis_server/lib/src/services/completion/dart_completion_manager.dart
|
| +++ b/pkg/analysis_server/lib/src/services/completion/dart_completion_manager.dart
|
| @@ -22,6 +22,13 @@ import 'package:analyzer/src/generated/ast.dart';
|
| import 'package:analyzer/src/generated/engine.dart';
|
| import 'package:analyzer/src/generated/source.dart';
|
|
|
| +// TODO (danrubel) these are temporary constants as we transition completion
|
| +// relevance from CompletionRelevance.LOW/DEFAULT/HIGH to int.
|
| +// These should be removed in a subsequent CL
|
| +const int COMPLETION_RELEVANCE_LOW = 500;
|
| +const int COMPLETION_RELEVANCE_DEFAULT = 1000;
|
| +const int COMPLETION_RELEVANCE_HIGH = 2000;
|
| +
|
| /**
|
| * The base class for computing code completion suggestions.
|
| */
|
|
|