-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
Description
A cool feature will be to change between markup and stylesheets emmets based on cursor context, this is a nice feature, specially in filetypes like jsx tsx wherein both kinds of emmets are used.
For example:
import React from 'react';
import styled from 'styled-components'
const Button = styled.button`
border: 2px solid;
margin: 0 1em;
`
// TYPING p10 DOES NOT WORK
const Home = () => {
return (
<>
<div>hola</div>
{/* TYPING (table>tr*3) WORKS */}
</>
);
};
export default Home;I don't know how to achieve this, maybe treesitter? Any ideas?
Reactions are currently unavailable