- Joined
- Feb 27, 2019
- Messages
- 29
- Reaction score
- 10
- First Language
- English
- Primarily Uses
- RMMV
Hey, folks. My partner and I are collaborating remotely on our game, and we are using GitHub to do it. It works great for the most part, except when I am trying to merge branches or pull requests.
What happens is that if either of us has edited MapInfos.json or Actors.json or System.json or whatever (which of course we have), git can't parse the conflicts that come up. Even if they are not overlapping.
Because RMMV saves all the files during development as minified JSON, git just sees a single line that has conflicts. What I've been able to do so far is use a JSON beautifier/unminifier (link here in case anyone else needs it) and then manually go through the files in VS Code and decide whether I want to keep the current change or the incoming change.
It's not that bad, but it's a real pain. It would be so much easier if git could parse the actual lines of code like it's designed to do.
So all that to say: has anyone figured out a way to get RMMV to save the data files as unminified JSON by default?
What happens is that if either of us has edited MapInfos.json or Actors.json or System.json or whatever (which of course we have), git can't parse the conflicts that come up. Even if they are not overlapping.
Because RMMV saves all the files during development as minified JSON, git just sees a single line that has conflicts. What I've been able to do so far is use a JSON beautifier/unminifier (link here in case anyone else needs it) and then manually go through the files in VS Code and decide whether I want to keep the current change or the incoming change.
It's not that bad, but it's a real pain. It would be so much easier if git could parse the actual lines of code like it's designed to do.
So all that to say: has anyone figured out a way to get RMMV to save the data files as unminified JSON by default?


