add-gitignore icon indicating copy to clipboard operation
add-gitignore copied to clipboard

Show current selections

Open 0xTadash1 opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe. Remembering what is currently selected is not a problem. But I thought it would be a little more helpful if they were displayed.

Describe the solution you'd like For example, display "node, vuejs" in bold light blue just below the "What environments would your .gitignore to ignore?". If no blank line is placed beforehand, you may feel stressed because the interactive list goes down. But it's slightly unnatural.

? What environments would your .gitignore to ignore? vue
  node, vuejs
 ◯ vue
❯◉ vuejs
 ◯ adventuregamestudio
 ◯ konyvisualizer
 ◯ virtualenv
 ◯ visualstudiocode

Describe alternatives you've considered Each selection will bring up a new prompt.

? What environments would your .gitignore to ignore? nod
node

? What environments would your .gitignore to ignore? vue
vuejs

? What environments would your .gitignore to ignore? 
❯◯ 1c
 ◯ 1c-bitrix
 ◯ a-frame
 ◯ actionscript
 ◯ ada
 ◯ adobe
 ◯ advancedinstaller
 ◯ adventuregamestudio
 ◯ agda
 ◯ al
(Move up and down to reveal more choices)

In this case, the prompt should be refreshed just upon selection. However, this also means that you cannot redo a wrong choice.

0xTadash1 avatar Aug 13 '21 12:08 0xTadash1

This is great. Wanna do a PR?

TejasQ avatar Feb 01 '22 16:02 TejasQ