
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
Auto Add Brackets in String Interpolation
Advanced tools
Automatically add complete brackets when writing interpolated string
This extension will automatically add complete brackets when writing interpolated string.
This solution inspired from sublime text behaviour.
By default the following languages are enabled:
You can enable other languages yourself by doing the following:
{
// VSCode settings ...
"auto.languages": {
// The key is the languageId for the language (see notes)
"typescript": {
// Symbol used for string interpolations in the language
"symbol": "$",
// Type of quotes that surround strings that can be interpolated in the language
"stringWrapper": "`"
},
"ruby": {
"symbol": "#",
"stringWrapper": "\""
}
}
}
note that the key in the configuration object should be a languageId supported by VSCode
Then add the keybind for the language:
{
// Keybindings ...
{
"command": "auto.addInterpolation",
"key": "shift+3",
"when": "editorTextFocus && editorLangId == 'YOUR_LANGUAGE_ID'"
},
}
If you are a Vim mode user you should also add
vim.mode != 'Normal' && vim.mode != 'Visual' && vim.mode != 'VisualBlock' && vim.mode != 'VisualLine'to your "when" clause
Icons made by Icon Monk from www.flaticon.com is licensed by CC 3.0 BY
FAQs
Automatically add complete brackets when writing interpolated string
We found that aliariff.auto-add-brackets demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.