We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7a84ed2 + 082e90e commit 5adafbeCopy full SHA for 5adafbe
src/views/results/index.ts
@@ -427,7 +427,8 @@ async function runHandler(options?: StatementInfo) {
427
setCancelButtonVisibility(false);
428
updateStatusBar({executing: false});
429
let content = `**free\n\n`
430
- + `// statement: ${statementDetail.content}\n\n`
+ + `// statement:\n`
431
+ + `// ${statementDetail.content.replace(/(\r\n|\r|\n)/g, '\n// ') }\n\n`
432
+ `// Row data structure\n`
433
+ queryResultToRpgDs(result, Configuration.get(`codegen.rpgSymbolicNameSource`));
434
const textDoc = await vscode.workspace.openTextDocument({ language: 'rpgle', content });
0 commit comments