scholarsmate commented on code in PR #1226:
URL: https://github.com/apache/daffodil-vscode/pull/1226#discussion_r2036124200
##########
src/language/providers/intellisense/elementItems.ts:
##########
@@ -49,17 +49,17 @@ export const elementCompletion = (definedVariables,
nsPrefix) => {
},
{
item: 'dfdl:assert',
- snippetString: '<' + nsPrefix + 'assert $0',
+ snippetString: '<' + 'dfdl:' + 'assert $0',
Review Comment:
I see no advantage to gluing together these static strings.
`snippetString: '<' + 'dfdl:' + 'assert $0',`
Should be simply:
`snippetString: '<dfdl:assert $0',`
--
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]