Multiline Suggestions in Suggest Widget
Allow the currently selected suggestion in the suggest widget to be multiline.
Example Usages
The bottom line will show the first line of the documentation / description. The line above would show inline details, such as a specific method siganture, inheritance, required imports, snippet overview, etc.
Specifications
- Up to 3 lines could be supported.
- The first line will always show the current suggestion.
- The second line could show method signatures, types, etc.
- The third line could show the first line of documentation.
The described behavior is how it is expected to work. If you disagree, please explain what is expected and what is not in more detail. See also our issue reporting guidelines.
Happy Coding!
We have experimented with this in the past and decided aginst this. This is because it causes too much flicker since not all suggestions have details.
The idea is to always show a set number of lines, even if there is no information.
This will prevent flickering.
For example, if there are no details, the second line should say: No details
If there is no description / documentation, the third line should say: No description
Additionally, there should be a setting to enable this (set to false by default).
| hashCode |
|---|
toString() No details No description |