ipatalas / vscode-postfix-ts

Postfix notation for TypeScript/Javascript - extension for VS Code
MIT License
158 stars 43 forks source link

Tsx support #19

Closed weijian19391 closed 5 years ago

weijian19391 commented 5 years ago

Can you add support for tsx and jsx files?

ipatalas commented 5 years ago

If you mean to be able to use the templates inside JSX/TSX files then it's possible almost since the beginning. You need to change default configuration for postfix.languages to:

"postfix.languages": [
    "javascript",
    "javascriptreact",
    "typescript",
    "typescriptreact"
],