title: how to create a quickpick similar to vscode theme selector
body: <p>am trying to create a quick-pick that execute a command as you go up/down, similar to how you preview a theme.</p>
  
  <p>i've read the <a href="https://code.visualstudio.com/api/references/vscode-api#QuickPickOptions" rel="nofollow noreferrer">api docs</a> but i couldn't find what am after so any help is appreciated.</p>
  
  <p>here is what i currently have</p>
  
  <pre><code>commands.registerCommand('terminal_themes.apply', async () =&gt; {
      let items = themes.map((item) =&gt; item.name)
  
      // change this to update on up&amp;down
      // instead of on selection
      window.showQuickPick(items).then((selection) =&gt; {
          if (!selection) {
              return
          }
  
          // do something with selection
      })
  })
  </code></pre>