albertinad / brackets-bower

Bower integration in Brackets.
MIT License
47 stars 9 forks source link

Prevent accidental installation of a package #81

Open JKVeganAbroad opened 8 years ago

JKVeganAbroad commented 8 years ago

When you attempt to install a package (File » Install from Bower...), the Bower Registry loads, and AutoFill suggestions appear just below the textbox:

screen shot 2015-12-03 at 1 56 41 pm

Before the AutoFill suggestions appear, Brackets indicates that it is "Loading Bower Registry . . ." (or similar message). This can take a while, so let's assume you decide to edit your code whilst you wait for the Bower Registry to load: You attempt to click on some code, but then the Bower Registry suddenly finished loading, and the pre-filled suggestions magically appear where you're just about to click. And now, accidentally, you're installing some random package, and you can't stop the process.

Suggestions:

albertinad commented 8 years ago

I like the option 2! And in the dialog to confirm or cancel the installation, more detail about the package to install could be displayed.