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

Side by Side Diff: pkg/analysis_server/lib/src/services/completion/dart_completion_manager.dart

Issue 1470373002: create new Dart specific completion contributor extension point (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: merge Created 5 years 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
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 library services.completion.dart; 5 library services.completion.dart;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'package:analysis_server/plugin/protocol/protocol.dart'; 9 import 'package:analysis_server/plugin/protocol/protocol.dart';
10 import 'package:analysis_server/src/analysis_server.dart'; 10 import 'package:analysis_server/src/analysis_server.dart';
(...skipping 12 matching lines...) Expand all
23 import 'package:analysis_server/src/services/completion/local_reference_contribu tor.dart'; 23 import 'package:analysis_server/src/services/completion/local_reference_contribu tor.dart';
24 import 'package:analysis_server/src/services/completion/optype.dart'; 24 import 'package:analysis_server/src/services/completion/optype.dart';
25 import 'package:analysis_server/src/services/completion/prefixed_element_contrib utor.dart'; 25 import 'package:analysis_server/src/services/completion/prefixed_element_contrib utor.dart';
26 import 'package:analysis_server/src/services/completion/uri_contributor.dart'; 26 import 'package:analysis_server/src/services/completion/uri_contributor.dart';
27 import 'package:analysis_server/src/services/search/search_engine.dart'; 27 import 'package:analysis_server/src/services/search/search_engine.dart';
28 import 'package:analyzer/src/generated/ast.dart'; 28 import 'package:analyzer/src/generated/ast.dart';
29 import 'package:analyzer/src/generated/engine.dart' hide AnalysisContextImpl; 29 import 'package:analyzer/src/generated/engine.dart' hide AnalysisContextImpl;
30 import 'package:analyzer/src/generated/scanner.dart'; 30 import 'package:analyzer/src/generated/scanner.dart';
31 import 'package:analyzer/src/generated/source.dart'; 31 import 'package:analyzer/src/generated/source.dart';
32 32
33 export 'package:analysis_server/src/provisional/completion/completion_dart.dart' 33 export 'package:analysis_server/src/provisional/completion/dart/completion_dart. dart'
34 show 34 show
35 DART_RELEVANCE_COMMON_USAGE, 35 DART_RELEVANCE_COMMON_USAGE,
36 DART_RELEVANCE_DEFAULT, 36 DART_RELEVANCE_DEFAULT,
37 DART_RELEVANCE_HIGH, 37 DART_RELEVANCE_HIGH,
38 DART_RELEVANCE_INHERITED_ACCESSOR, 38 DART_RELEVANCE_INHERITED_ACCESSOR,
39 DART_RELEVANCE_INHERITED_FIELD, 39 DART_RELEVANCE_INHERITED_FIELD,
40 DART_RELEVANCE_INHERITED_METHOD, 40 DART_RELEVANCE_INHERITED_METHOD,
41 DART_RELEVANCE_KEYWORD, 41 DART_RELEVANCE_KEYWORD,
42 DART_RELEVANCE_LOCAL_ACCESSOR, 42 DART_RELEVANCE_LOCAL_ACCESSOR,
43 DART_RELEVANCE_LOCAL_FIELD, 43 DART_RELEVANCE_LOCAL_FIELD,
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 parameterNames: suggestion.parameterNames, 448 parameterNames: suggestion.parameterNames,
449 parameterTypes: suggestion.parameterTypes, 449 parameterTypes: suggestion.parameterTypes,
450 requiredParameterCount: suggestion.requiredParameterCount, 450 requiredParameterCount: suggestion.requiredParameterCount,
451 hasNamedParameters: suggestion.hasNamedParameters, 451 hasNamedParameters: suggestion.hasNamedParameters,
452 returnType: suggestion.returnType, 452 returnType: suggestion.returnType,
453 element: suggestion.element); 453 element: suggestion.element);
454 } 454 }
455 } 455 }
456 } 456 }
457 } 457 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698