Index: pkg/analysis_server/lib/src/domain_completion.dart |
diff --git a/pkg/analysis_server/lib/src/domain_completion.dart b/pkg/analysis_server/lib/src/domain_completion.dart |
index f9ea745ddb21eb2c44f30ba53c7a6ac928690b86..4c2221a6ff016e2beb481e7d1a4199d4e0b8b5e3 100644 |
--- a/pkg/analysis_server/lib/src/domain_completion.dart |
+++ b/pkg/analysis_server/lib/src/domain_completion.dart |
@@ -102,6 +102,10 @@ class CompletionDomainHandler implements RequestHandler { |
@override |
Response handleRequest(Request request) { |
+ if (server.options.enableNewAnalysisDriver) { |
+ // TODO(scheglov) implement for the new analysis driver |
+ return new CompletionGetSuggestionsResult('0').toResponse(request.id); |
+ } |
if (server.searchEngine == null) { |
return new Response.noIndexGenerated(request); |
} |