-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds a JSON parsing library for tasks.json #5954
Conversation
@Colengms Was there a GitHub issue tracking the comment removal issue? |
@sean-mcmanus Are you referring to the issue when editing @dan-shaw Can this also be extended to replace existing uses of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see anything fixed by this PR. When I have a tasks.json or c_cpp_properties.json and then trigger an action that causes one of those to be editted by our code, then the comments get overwritten still. Maybe some extra code needs to be added preserver the comments?
Oh, I had the wrong branch checked out. |
Closing this PR was accidental, not sure how that happened. |
|
@dan-shaw This PR seems close to getting checked in and seems to just need 3 minor changes I mentioned in my previous comments. Did you plan to make those changes or did you want us to do that? |
@sean-mcmanus Sorry, just fixed it. |
C/C++ extension will keep the comments while modifying tasks.json file. However, Vs Code doesn't. |
Currently, comments are removed when parsing tasks.json. This PR adds a new dependency that keeps user comments.