vscode-postfix-ts
vscode-postfix-ts copied to clipboard
Shouldn't be suggested in JSX Elements & `JSXText`
Postfixes should not be suggested inside JSX text/Elements. Failing examples:
;<>a.castas</>
;<p.promisify></p>
;<p test.not></p>
;<p className="thing.log"></p>
But support for JSXExpression
should be preserved:
;<p hidden={showMe.not}>test{thing.castas}</p>
Good idea, I see TS AST supports this so this will be easy, thanks for suggestion.