codemaid
codemaid copied to clipboard
Adding the backtick character in javascript code breaks codemaid cleanup
Environment
- Visual Studio version: 2022 Community
- CodeMaid version: 12.0
- Code language: javascript
Description
Adding the backtick (`) character in javascript code breaks codemaid cleanup
Steps to recreate
Current behavior
Cleanup fails
Expected behavior
Should not break cleanup
Thanks for reporting the issue. I have not been able to reproduce it. Can you please provide a minimal solution or code sample that exhibits the issue?
Create a file called test.vue and add this code:
*.vue files always work with CodeMaid. For some reason this time it fails. I don't use any other formatter for any files. I'm using Visual Studio 2022 Community. Take out the acFormat variable and it starts working again.
Oh darn, the markdown eliminated the my code because I'm using backticks..lol. Let me try to upload a screenshot
Looks like double curly braces cause the same problem. Might be related?
const acFormat = "{{typeId}} {{Name}} ({{RequestType}})";