Open
Description
## Description
This is a follow-up for #3. Emmet supports different kinds of Nesting operators. It would be a match made in heaven to have this supported in this vs code extension as well!
Specification
Child: >
fc.MyComponent>useState.firstName
would produce:
const MyComponent = () => {
const [firstName, setFirstName] = useState();
return (
<></>
);
}
Sibling: +
fc.MyComponent>useState.firstName+useState.lastName
would produce:
const MyComponent = () => {
const [firstName, setFirstName] = useState();
const [lastName, setLastName] = useState();
return (
<></>
);
}
Climb-up: ^
fc.MyComponent>useState.firstName^fc.AnotherComponent
would produce:
const MyComponent = () => {
const [firstName, setFirstName] = useState();
return (
<></>
);
}
const AnotherComponent = () => {
return (
<></>
);
}
Metadata
Assignees
Labels
No labels
Activity