You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by sh...@apache.org on 2025/09/16 22:05:04 UTC
(daffodil-vscode) branch main updated: - Make tdmlConfig.path always use default value for generate - Add location of generated TDML file to Daffodil Output window
This is an automated email from the ASF dual-hosted git repository.
shanedell pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/daffodil-vscode.git
The following commit(s) were added to refs/heads/main by this push:
new 82db1ad - Make tdmlConfig.path always use default value for generate - Add location of generated TDML file to Daffodil Output window
82db1ad is described below
commit 82db1ade32ec11d7b53621bab3d15d1d108a8352
Author: Michael Hoke <mi...@nteligen.com>
AuthorDate: Fri Aug 29 12:02:19 2025 -0400
- Make tdmlConfig.path always use default value for generate
- Add location of generated TDML file to Daffodil Output window
---
src/daffodilDebugger/debugger.ts | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/daffodilDebugger/debugger.ts b/src/daffodilDebugger/debugger.ts
index 63dc672..8e21f95 100644
--- a/src/daffodilDebugger/debugger.ts
+++ b/src/daffodilDebugger/debugger.ts
@@ -24,6 +24,7 @@ import {
getDefaultTDMLTestCaseName,
getTmpTDMLFilePath,
} from '../tdmlEditor/utilities/tdmlXmlUtils'
+import { outputChannel } from '../adapter/activateDaffodilDebug'
// Function to get data file given a folder
export async function getDataFileFromFolder(dataFolder: string) {
@@ -78,7 +79,12 @@ async function getTDMLConfig(
if (config?.tdmlConfig?.action === 'generate') {
config.tdmlConfig.name =
config.tdmlConfig.name || getDefaultTDMLTestCaseName()
- config.tdmlConfig.path = config.tdmlConfig.path || getTmpTDMLFilePath()
+ config.tdmlConfig.path = getTmpTDMLFilePath()
+
+ outputChannel.appendLine(
+ `TDML File generated at: ${config.tdmlConfig.path}`
+ )
+ outputChannel.show()
}
if (config?.tdmlConfig?.action !== 'execute' && config.data === '') {