Configure Emmet for JSX in VSCode
问题 I use css like this: const styles = { foo: { color: 'red' } } <div className={styles.foo} /> and I want emmet to expand .foo to <div className={styles.foo}></div> I don't see any reference to class or className in emmet's config file. Also looked into preferences.json and didn't find a solution. It seems very simple to do. What am I missing here? my code editor is vscode. Thanks in advance for help :) 回答1: Emment configuration or enabling is editor specific. In VSCode, You need to enable it