Hello,
I have an issue with Cody while writing Svelte code: everytime I'm writing code just before a </script> or a </style> tag, if I get a Cody suggestion and I hit Tab to confirm it, the change will always delete the closing tag right after that.
It's quite annoying since it forces me to rewrite that tag every single time.
Is there a setting that maybe can avoid this?
As Cody itself suggested, I've tried putting this config in my ~/.config/sourcegraph/cody/cody.json
{
"rules": {
"svelte": {
"preserveTags": {
"script": true,
"style": true
}
}
},
"filePatterns": {
"*.svelte": {
"enforceClosingTags": [
"script",
"style"
]
}
}
}
Unfortunately nothing has changed.