alex18881 / JsonL18nResourcesEditor

Sublime Text 3 plugin for editing localization/internationalization resources in JSON format
MIT License
3 stars 1 forks source link

All file content gets modified #3

Closed mykyta-shulipa closed 7 years ago

mykyta-shulipa commented 7 years ago

Entire file content is marked as modified when I just add a new key with i18n messages OR editing one particular message - git diff shows me that I've removed all content and then paste it again.

alex18881 commented 7 years ago

Nikita. Thank you for posting this issue. It would be great if you checked out fixes and posted here a small feedback.

mykyta-shulipa commented 7 years ago

Not fixed in my case - still seeing the changes in the whole file (git diff saying that content was deleted then added) in both cases - adding a new key with translations or modify existing translation. Just found the reason - the settings in project was different: 2 spaces instead of 4 😉

alex18881 commented 7 years ago

Oh. I see. Thanks for reply. I'll try to use global settings for json formatter.

alex18881 commented 7 years ago

Nikita, can you please check the fix once again?

mykyta-shulipa commented 7 years ago

It works awesome! 🎉 👍🏻 💪🏻