Skip to content
This repository was archived by the owner on Nov 11, 2024. It is now read-only.

Conflicts with vscode-styled-componentΒ #6

@u3u

Description

@u3u

Steps To Reproduce

  1. Installation this plugin
  2. Installation vscode-styled-component

The current behavior

import { css } from '@emotion/core';

// error: } expectedcss(css-rcurlyexpected)
// and syntax highlighting is broken
// it should conflict with styled-jsx's `css.resolve` and `css.global`
const className = css`
  text-align: center;
`;

const Button = () => {
  return (
    <button
      // same problem as above
      css={css`
        text-align: center;
      `}
    />
  );
};

Hope this conflict can be resolved πŸ™

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions