Bracketeer
Bracketeer copied to clipboard
[Bug] When the string contains `@`, Bracketeer warns "No quotes to modify found."
Repro case:
{
"@foo": "foo"
}
Use the command bracketeer.selectQuotesContent to select @foo, Bracketeer will warn "No quotes to modify found."
Quite often npm package names start with @, e.g.
{
"@vue/cli-plugin-babel": "~4.5.13",
"@vue/cli-plugin-eslint": "~4.5.13",
"@vue/cli-plugin-router": "~4.5.13",
"@vue/cli-plugin-vuex": "~4.5.13",
"@vue/cli-service": "~4.5.13",
"@vue/compiler-sfc": "^3.1.5",
"@vue/eslint-config-prettier": "^6.0.0"
}
It's currently impossible to select them with Bracketeer.
Hi, thanks for reporting the bug, I quickly checked it and you are right, it doesn't work properly. Unfortunately due to limited time I'm unable to tell when I will be able to fix it. But feel free to submit the PR with fix, if you want to.