You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When writing back to the file, I think we only need to add new aliases at the end, so in theory we don't even need to parse the contents, just append new paths.
The text was updated successfully, but these errors were encountered:
Background
Right now, we can't write JSON 5 (i.e. comments) back to file.
Apparently even the JSON 5 maintainer doesn't want to touch this.
However, as our use case is so specific we could probably write back to the file using regexp.
Proposal
Something along these lines:
When writing back to the file, I think we only need to add new aliases at the end, so in theory we don't even need to parse the contents, just append new paths.
The text was updated successfully, but these errors were encountered: