GitXplorerGitXplorer
Y

stylex-vscode

public
14 stars
2 forks
1 issues

Commits

List of commits on branch main.
Unverified
705898cbd91bec5d7683c56b105b8da0fcf95092

fix: silent ignore if unrecognized node

YYash-Singh1 committed 6 months ago
Unverified
57e685422cdc444c08074e13b15f86a40ec83f3a

fix: --variable names

YYash-Singh1 committed 7 months ago
Unverified
c74c82584cf34282553dae4f204a11c2ef2e6c42

feat: publish 0.0.14

YYash-Singh1 committed 8 months ago
Unverified
9f6abe5d1212b4780299e888f65bbec8258c217f

fix: non-string literals in hover for typed vars

YYash-Singh1 committed 8 months ago
Unverified
48e1daf7d50aed2042448ec0eea910d7c2312126

chore: rm @stylexjs/open-props pkg

YYash-Singh1 committed 8 months ago
Unverified
c5e9533c73bd2a3d33fd8ed6766bbe5b23147c21

fix: flaws in cloning state and reverse mutating array

YYash-Singh1 committed 8 months ago

README

The README file for this repository.

StyleX Intellisense

StyleX Intellisense enhances your StyleX development experience by providing advanced features such as autocomplete, hover previews, and color decorators.

Installation

Install via the Visual Studio Code Marketplace →

In order for this extension to work, make sure you have @stylexjs/stylex installed in your workspace.

Functionality

Hover Previews

See the generated CSS for a CSS property by hovering over it.

Hover Preview

Color Decorators

Change values of colors using a color picker.

Color Picker

Auto Complete

Autocomplete styles

Autocomplete

Configuration

stylex.includedLanguages

Enable features in languages that are not supported by default. Add a mapping here between the new language and an already supported language.

{
  "stylex.includedLanguages": {
    "plaintext": "javascriptreact"
  }
}

stylex.aliasModuleNames

List of custom module names that should be considered as the StyleX package for detecting StyleX workspaces and imports.

{
  "stylex.aliasModuleNames": ["@stylexjs/stylex", "stylex", "@my-org/stylex"]
}

stylex.useRemForFontSize

Should px values for fontSize be converted to rem? It is considered a best practice to use rem for font sizes to allow users to scale the font size up or down.

{
  "stylex.useRemForFontSize": false
}

stylex.hover

Enable/disable hover support for StyleX classes and keyframes.

{
  "stylex.hover": true
}

stylex.suggestions

Enable/disable autocomplete suggestions.

{
  "stylex.suggestions": true
}

stylex.colorDecorators

Enable/disable whether the editor should render color decorators for styles.

{
  "stylex.colorDecorators": true
}