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

Side by Side Diff: pkg/analyzer_plugin/lib/utilities/completion/relevance.dart

Issue 2927343002: Prioritize required name param completions (flutter-intellij#1049). (Closed)
Patch Set: Created 3 years, 6 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 unified diff | Download patch
« no previous file with comments | « pkg/analysis_server/test/services/completion/dart/arglist_contributor_test.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // 5 //
6 // Constant values used for relevance values when creating completion 6 // Constant values used for relevance values when creating completion
7 // suggestions in Dart code. 7 // suggestions in Dart code.
8 // 8 //
9 9
10 const int DART_RELEVANCE_COMMON_USAGE = 1200; 10 const int DART_RELEVANCE_COMMON_USAGE = 1200;
11 const int DART_RELEVANCE_DEFAULT = 1000; 11 const int DART_RELEVANCE_DEFAULT = 1000;
12 const int DART_RELEVANCE_HIGH = 2000; 12 const int DART_RELEVANCE_HIGH = 2000;
13 const int DART_RELEVANCE_INCREMENT = 100; 13 const int DART_RELEVANCE_INCREMENT = 100;
14 const int DART_RELEVANCE_INHERITED_ACCESSOR = 1057; 14 const int DART_RELEVANCE_INHERITED_ACCESSOR = 1057;
15 const int DART_RELEVANCE_INHERITED_FIELD = 1058; 15 const int DART_RELEVANCE_INHERITED_FIELD = 1058;
16 const int DART_RELEVANCE_INHERITED_METHOD = 1057; 16 const int DART_RELEVANCE_INHERITED_METHOD = 1057;
17 const int DART_RELEVANCE_KEYWORD = 1055; 17 const int DART_RELEVANCE_KEYWORD = 1055;
18 const int DART_RELEVANCE_LOCAL_ACCESSOR = 1057; 18 const int DART_RELEVANCE_LOCAL_ACCESSOR = 1057;
19 const int DART_RELEVANCE_LOCAL_FIELD = 1058; 19 const int DART_RELEVANCE_LOCAL_FIELD = 1058;
20 const int DART_RELEVANCE_LOCAL_FUNCTION = 1056; 20 const int DART_RELEVANCE_LOCAL_FUNCTION = 1056;
21 const int DART_RELEVANCE_LOCAL_METHOD = 1057; 21 const int DART_RELEVANCE_LOCAL_METHOD = 1057;
22 const int DART_RELEVANCE_LOCAL_TOP_LEVEL_VARIABLE = 1056; 22 const int DART_RELEVANCE_LOCAL_TOP_LEVEL_VARIABLE = 1056;
23 const int DART_RELEVANCE_LOCAL_VARIABLE = 1059; 23 const int DART_RELEVANCE_LOCAL_VARIABLE = 1059;
24 const int DART_RELEVANCE_LOW = 500; 24 const int DART_RELEVANCE_LOW = 500;
25 const int DART_RELEVANCE_NAMED_PARAMETER = 1060; 25 const int DART_RELEVANCE_NAMED_PARAMETER = 1060;
26 const int DART_RELEVANCE_NAMED_PARAMETER_REQUIRED = 1065;
26 const int DART_RELEVANCE_PARAMETER = 1059; 27 const int DART_RELEVANCE_PARAMETER = 1059;
OLDNEW
« no previous file with comments | « pkg/analysis_server/test/services/completion/dart/arglist_contributor_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698