| 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 4c2221a6ff016e2beb481e7d1a4199d4e0b8b5e3..aefb37dabd758b42d4635e3f4996045bd1a0df7f 100644
|
| --- a/pkg/analysis_server/lib/src/domain_completion.dart
|
| +++ b/pkg/analysis_server/lib/src/domain_completion.dart
|
| @@ -104,7 +104,12 @@ class CompletionDomainHandler implements RequestHandler {
|
| Response handleRequest(Request request) {
|
| if (server.options.enableNewAnalysisDriver) {
|
| // TODO(scheglov) implement for the new analysis driver
|
| - return new CompletionGetSuggestionsResult('0').toResponse(request.id);
|
| + String completionId = (_nextCompletionId++).toString();
|
| + new Future(() {
|
| + sendCompletionNotification(completionId, 0, 0, []);
|
| + });
|
| + return new CompletionGetSuggestionsResult(completionId)
|
| + .toResponse(request.id);
|
| }
|
| if (server.searchEngine == null) {
|
| return new Response.noIndexGenerated(request);
|
|
|