Open
Description
When using "anfn"-> tab inside the brackets "{}" anywhere in the jsx component return statement, nothing happens (filename xyz.jsx).
return (
..........
<IconButton
color="inherit"
sx={{ ml: 1 }}
onClick={ () => {} } // wanted result
>
<IconButton
color="inherit"
sx={{ ml: 1 }}
onClick={anfn } // actual result
>
)
VSCode: 1.74.2
ES7+ React/Redux/React-Native snippets: v4.4.3 (12/25/2022,)
In case of conflicts VScode config:
(I tried a hale mary by adding the config array manually and adding html)
{
"workbench.colorTheme": "Ubuntu Color VSCode Deep Dark",
"workbench.iconTheme": "material-icon-theme",
"files.autoSave": "afterDelay",
"editor.fontSize": 16,
"editor.fontWeight": "normal",
"explorer.confirmDelete": false,
"workbench.startupEditor": "none",
"emmet.includeLanguages": {
"vue-html": "html",
"javascript": "javascriptreact"
},
"redhat.telemetry.enabled": false,
"rainbowTags.allowEverywhere": true,
"eslint.format.enable": true,
"auto-rename-tag.activationOnLanguage": [
"*"
],
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"files.exclude": {
"**/.git": false,
},
"[javascript]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"git.enableSmartCommit": true,
"totalTypeScript.hideAllTips": false,
"totalTypeScript.hideBasicTips": false,
"reactSnippets.settings.languageScopes": "typescript,typescriptreact,javascript,javascriptreact,html",
}
Metadata
Metadata
Assignees
Labels
No labels