You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by GitBox <gi...@apache.org> on 2021/11/04 16:57:26 UTC

[GitHub] [daffodil-vscode] Shanedell commented on issue #38: eliminate launch.json configuration steps

Shanedell commented on issue #38:
URL: https://github.com/apache/daffodil-vscode/issues/38#issuecomment-961234613


   I have an idea for this. Basically what I was thinking was creating a command that will act as a `launch.json` config wizard.
   
   So would create a new command, something like `launch.config`, and add an icon for it up in the toolbar like the hex and infoset commands. Not sure what icon to use maybe just a gear icon?
   
   Whenever the command is ran via command palette or by clicking on the toolbar icon, the user will be prompted with different input items:
   - A file picker to select the file to be used for program and data
   - A quick picker with either `true` or `false` for the boolean launch variables, eg `useExistingServer`, `stopOnEntry`. - A input box for other more specific values like `debugServer`
   
   Once all the inputs are retrieved the command will output the json to `.vscode/launch.json`. Everytime this command is ran the `launch.json` would be overwritten with the newly given information.
   
   Would this be a good approach? I have a little bit of code going for it now but for to put this up earlier
   


-- 
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