sfmc-devtools
sfmc-devtools copied to clipboard
[BUG] max line width breaks ampscript code in assets
Is there an existing issue for this?
- [X] I have searched the existing issues
Current Behavior
saw it happening with contentblockbyname which tends to have a very longer argument.
Expected Behavior
ampscript code does not get auto-line breaks applied
Steps To Reproduce
- Go to '...'
- Click on '....'
- Run '...'
- See error...
Version
6.0.2
Environment
- OS:
- Node:
- npm:
Participation
- [X] I am willing to submit a pull request for this issue.
Additional comments
No response
could be fixed by changing .vscode/settings.json
:
"files.associations": {
"*.html": "AMPscript"
},
"[html]": {
"editor.defaultFormatter": "FiB.beautyAmp"
},
that way, we no longer apply prettier settings but instead run beautyAmp on the code. tested this myself already and it seems to work
tracked in
- https://github.com/FiB3/beautyAmpCore2/issues/4
Closed by #1341.