amoilanen / Brackets-Command-Line-Shortcuts

Brackets IDE plugin. Adds support of shortcuts for execution of terminal commands right from the IDE.
8 stars 1 forks source link

Update overwrites config #3

Closed vuhrmeister closed 8 years ago

vuhrmeister commented 10 years ago

When updating the plugin it overwrites the personalized config with the example.

amoilanen commented 10 years ago

I changed the name of the configuration file from brackets-commandline.json to brackets-commandline.${version}.json. Current version is 0.2.1 and the file is brackets-commandline.0.2.1.json.

However, when updating an extension Brackets completely removes the previous version together with its configuration files and artefacts. From my quick investigation it seems that there is no API that would allow to migrate artefacts from one version of extension to another or choose to leave some files intact. This might be a generic Brackets issue. To be further investigated, not sure that we can do anything about this behavior of Extension Manager without changing it.