Closed eight04 closed 9 years ago
Looks good, thank you for the contribution, it is much better to use the Preferences API than to create custom configuration files for the extension.
I will test the changes a bit and if there are no regressions will release them into the Brackets plugin repository soon. I will also add you into the list of the contributors, if you do not mind.
Details:
PreferencesManager
to save configuration (inbrackets.json
) instead of writing intobrackets-commandline.0.2.2.json
in extension folder. This should fix #3. Default shortcuts are written inConfiguration.js
directly.spawn()
withexec()
innode/run-command.js
. Usingspawn()
on Windows cause double quotes issue:"
will be escaped into\"
. Is there any side effect for *nix system?CommandManager
is already defined inConfiguration.js
.PreferencesManager
inspec/BracketsStubs.js
.