You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "scholarsmate (via GitHub)" <gi...@apache.org> on 2023/05/17 18:22:08 UTC

[GitHub] [daffodil-vscode] scholarsmate opened a new issue, #635: .vscode/launch.json is not strict JSON

scholarsmate opened a new issue, #635:
URL: https://github.com/apache/daffodil-vscode/issues/635

   Cannot have a this comment block:
   https://github.com/apache/daffodil-vscode/blob/main/.vscode/launch.json#L1
   
   Also cannot have trailing commas in arrays like we have here:
   https://github.com/apache/daffodil-vscode/blob/main/.vscode/launch.json#L62
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [daffodil-vscode] nlewis05 commented on issue #635: .vscode/launch.json is not strict JSON

Posted by "nlewis05 (via GitHub)" <gi...@apache.org>.
nlewis05 commented on issue #635:
URL: https://github.com/apache/daffodil-vscode/issues/635#issuecomment-1597173419

   This issue correlates to whenever you "Add a configuration" either through "Run > Add Configuration" or if you are in the Run and Debug section of vscode and add configuration from the drop down or hit the cog wheel. I'm not sure where it is creating this launch.json from and how it is populating this default configuration. This is what it looks like when created:
   ![image](https://github.com/apache/daffodil-vscode/assets/131286323/e7b7cf98-125e-4f5c-aa94-27ce095bbb9a)
   
   The issues lie with the comments at the top which invalidates the json, and once this file has been created, you are no longer able to open it with the launch config wizard as show below:
   ![image](https://github.com/apache/daffodil-vscode/assets/131286323/4c145d08-e8e0-4a26-b56b-18c9bbc89b34)
   
   Once these comments are removed,
   ![image](https://github.com/apache/daffodil-vscode/assets/131286323/b07e176a-6620-4510-8866-7ead0b7fbbc3)
   
   You can then open the launch config wizard again:
   ![image](https://github.com/apache/daffodil-vscode/assets/131286323/0da89369-d4b2-4f0d-aceb-fc40913127ed)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [daffodil-vscode] arosien commented on issue #635: .vscode/launch.json is not strict JSON

Posted by "arosien (via GitHub)" <gi...@apache.org>.
arosien commented on issue #635:
URL: https://github.com/apache/daffodil-vscode/issues/635#issuecomment-1622522859

   According to https://github.com/microsoft/vscode/issues/162434 we can use the [jsonc parser](https://www.npmjs.com/package/jsonc-parser) instead of the built-in JSON parser to handle JSON with comments.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [daffodil-vscode] shanedell closed issue #635: .vscode/launch.json is not strict JSON

Posted by "shanedell (via GitHub)" <gi...@apache.org>.
shanedell closed issue #635: .vscode/launch.json is not strict JSON
URL: https://github.com/apache/daffodil-vscode/issues/635


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org