ahuth / brackets-paste-and-indent

Paste code at the correct indentation level
29 stars 7 forks source link

Add menu item to enable/disable the plugin #6

Open unyo opened 10 years ago

unyo commented 10 years ago

Added a menu item to enable/disable the plugin. Sometimes you have haml/yaml files and you need to disabled it.

Apologies if I'm not doing this right, it's my first pull request.

ahuth commented 10 years ago

Hey, sorry I'm so late on getting to this, and thank you for taking the time to work on this and make a pull request.

Here's a couple of notes on your pull request:

  1. Please don't remove me as the author in the package.json. I think there is a way to have multiple authors, though.
  2. I'm not super familiar with how commands and preferences work in Brackets, but there has to be a way to re-use the existing preference setting. Then we don't have to do any other checking to see if the preference is enabled/disabled, because the plugin already checks for it.

Overall, good work with the PR, and thanks for putting in the effort to improve this plugin.