Skip to content

Add adaptive suggestions based on size

By this commit, the suggestions shown is adaptive.

  1. The first suggestion is always added. This to ensure that the completion bar is not empty.
  2. Before adding a suggestion, we check if its natural width is less than the available space in completion bar.adaptive-suggestions

Merge request reports