vscode-spring-initializr
vscode-spring-initializr copied to clipboard
cursor scroll to top after each dependency selected
After each dependency selected, cursor scroll up to top, if I need more dependency, I have to scroll down over and over, I think this is not a good experience。

@stayfool Yes, it would be better.
Currently the checkbox-like behavior is implemented by re-rendering the whole list. For the moment, VSCode doesn't provide API to specify an active item of the list. Any suggestion?
BTW, for me, the dependencies I need usually locate in different part of the list, so I'd like to type some keywords to filter the list during selection.
@Eskibear I don't know much about the implementation of VSCode.
Most of the time I know the key dependencies which I need, some extra dependencies is not sure before I see them.
In one word, the proposed behavior cannot be implemented unless VSCode provide either:
- Native checkbox style QuickPick API (related issue: https://github.com/Microsoft/vscode/issues/44891) or
- Additional parameter for initial position in QuickPick API.
@stayfool We'll keep an eye on VSCode's release plan for the related API.
VSCode added native checkbox style QuickPick API in v1.22.2.
It's doable now. Tracked in #54 .