Closed larsroettig closed 4 years ago
Is your feature request related to a problem? Please describe. As Developer i want to have live template support for Magento PWA
Describe the solution you'd like (*)
https://jetbrains.org/intellij/sdk/docs/tutorials/live_templates/template_support.html
<templateSet group="MagentoPWA"> <template name="pwa_pure" value="import React from 'react'; import {mergeClasses} from '@magento/venia-ui/lib/classify'; import { shape, string } from 'prop-types'; import defaultClasses from './$CSS_FILENAME_BASE$.css'; const $TM_FILENAME_BASE$ = props => { const classes = mergeClasses(defaultClasses, props.classes); return (<div className={classes.root}>$END$</div>); } $TM_FILENAME_BASE$.propTypes = { classes: shape({root: string}) }; $TM_FILENAME_BASE$.defaultProps = {}; export default $TM_FILENAME_BASE$;" description="" toReformat="true" toShortenFQNames="true"> <variable name="CSS_FILENAME_BASE" expression="decapitalize(camelCase(fileNameWithoutExtension()))" defaultValue="" alwaysStopAt="true" /> <variable name="TM_FILENAME_BASE" expression="capitalize(camelCase(fileNameWithoutExtension()))" defaultValue="" alwaysStopAt="true" /> <context> <option name="JAVA_SCRIPT" value="true" /> <option name="TypeScript" value="true" /> </context> </template> </templateSet>
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Hi @larsroettig. Thank you for your report. To help us process this issue please make sure that you provided sufficient information.
Please, add a comment to assign the issue: @magento I am working on this
@magento I am working on this
Is your feature request related to a problem? Please describe. As Developer i want to have live template support for Magento PWA
Describe the solution you'd like (*)
https://jetbrains.org/intellij/sdk/docs/tutorials/live_templates/template_support.html
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.