flutter / flutter/flutter-intellij

Autocomplete is slow

Open
#3,255 59 comments 37 reactions 0 assignees View on GitHub
dependency: dart sdk topic-editing usability
Dominant language
Java
Stars
2k
Forks
356
Avg merge
1d 11h
Merged PRs (30d)
27

Description

When I type any code in IntelliJ IDEA, it becomes marked with red squiggly lines, then some 2 seconds later it will generate some autocomplete options, it gets kinda annoying.

I understand the Dart support was made with a Dart Analysis Server, so at each new key I press, there will be some sort of client-server communication.

I also understand why this architecture was chosen, it's the best way to make something quickly and for every platform out there.

But maybe we should start thinking how to move forward from this so the performance and tweaking for IntelliJ could be improved.

Maybe the Dart Analysis Server could be embedded into the Dart plug-in, bypassing the client-server communications? I am not familiar with the whole architecture, just trying to figure out how to improve performance.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.