Skip to content

Instantly share code, notes, and snippets.

@tonitrnel
Last active April 21, 2020 16:01
Show Gist options
  • Save tonitrnel/f447d5207a8002abf7d2d612614d8bfc to your computer and use it in GitHub Desktop.
Save tonitrnel/f447d5207a8002abf7d2d612614d8bfc to your computer and use it in GitHub Desktop.
webstorm-regex-replace

WebStorm Regex replace

simple match stylus

MatchRegex: ^(?<tab>\s+)(?<property>[\w-]+):?\s+(?<value>.+)$ ReplaceValue: $1$2: $3;

stylus variable to css variable

MatchRegex: \$([\w-]+) ReplaceValue: var(--$1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment