vscode-advanced-new-file icon indicating copy to clipboard operation
vscode-advanced-new-file copied to clipboard

Update extension using new "QuickPick" API for single input selection?

Open bbugh opened this issue 5 years ago • 5 comments

It appears that the issue preventing a single selection (a la Sublime/Atom) has had some progress with an example API and some request for comment: https://github.com/Microsoft/vscode/issues/426

Comments for QuickPick API: https://github.com/Microsoft/vscode/issues/49340

Do you plan on updating this amazingly useful extension to support it? Having to create new files in two steps is one of the last things that drives me crazy about VSCode. I always screw up how I'm selecting things.

bbugh avatar Jul 27 '18 19:07 bbugh

@bbugh this is great news! I’ll catch up on those threads and see what’s next for the extension to take advantage of the VS Code update. Thanks for bringing this to my attention.

patbenatar avatar Jul 27 '18 22:07 patbenatar

Looks like the extension API changes will work great for us. They're available as preview in the most recent release, and there's a recent commit promoting them to stable so hopefully they land in the next release.

patbenatar avatar Aug 05 '18 16:08 patbenatar

Wahoo! Exciting! Thanks for looking into it and making this incredibly useful extension. 👍 Being able to do it in one go is going to be a big daily experience improvement.

bbugh avatar Aug 06 '18 14:08 bbugh

@patbenatar I guess you were referring to this commit: https://github.com/Microsoft/vscode/commit/8804cedf650b6a0a1cbca54de02d07288f18dddc

There is also an example available on how to use the new API: https://github.com/Microsoft/vscode-extension-samples/blob/master/quickinput-sample/src/quickOpen.ts

So it should be possible to replicate the path tab-autocomplete feature from Sublime (c.f., https://github.com/skuroda/Sublime-AdvancedNewFile#tab-autocompletion)? That would basically make the current 2-step process an interactive 1-step process. Much more convenient and quicker.

joe4dev avatar Sep 14 '18 14:09 joe4dev

This would be a great improvement and fix the issue mentioned in the readme https://github.com/Microsoft/vscode/issues/426

mhkeller avatar Jan 09 '20 20:01 mhkeller