Skip to content

styles typing (auto-completion, validation) #806

@HenriBeck

Description

@HenriBeck

From @caub on March 29, 2018 9:25

I think many of us would like to have syntax highlighting, validation, .. for the styles

I'll talk about VSCode, sorry about other editors, styled-components have https://github.com/styled-components/vscode-styled-components

It should be possible to do it, but more using React definitions:
2018-03-29-112240_1305x489_scrot

And trigger it for a

const styles = {
  foo: {
    alignItems: '...'
  }
};

@visioncan did something interesting: https://github.com/visioncan/vscode-jss-snippets, but I think I'd prefer that it behaves like React inline styles

Copied from original issue: cssinjs/react-jss#218

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions