hdalsania commented on code in PR #1022:
URL: https://github.com/apache/daffodil-vscode/pull/1022#discussion_r1597728735
##########
src/adapter/activateDaffodilDebug.ts:
##########
@@ -85,6 +85,52 @@ async function getFile(fileRequested, label, title) {
return file
}
+/** Method to select file path to save TDML file
+ * Details:
+ * Required so that the vscode api commands:
+ * - extension.dfdl-debug.getValidatedTDMLCopyPath
+ * can be sent a file instead of always opening up a prompt.
+ */
+async function saveFile(fileRequested, label, title) {
Review Comment:
We can use getSavePath function name to make it generic function to get a
path to save data, in this case TDML data.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]