Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Stylus language support for Visual Studio Code

Stylus

VSCode Marketplace Version VSCode Marketplace Downloads VSCode Marketplace Stars github-issues PRs Welcome

Adds syntax highlighting and code completion to Stylus files in Visual Studio Code.

Syntax was stolen from here: https://github.com/matthojo/language-stylus.

Features

  • Syntax highlighting
  • Symbols provider
  • Completion for selectors, properties, values, variables, functions etc.
  • Color preview

Completion in Action

Symbols Provider in Action

Configuration

{
  // Use ':' as separator between property and value
  "languageStylus.useSeparator": true, // default value
  // Toggle matches for Stylus Builtin Functions on autocomplete
  "languageStylus.useBuiltinFunctions": true, // default value
  // Toggle colors preview
  "editor.colorDecorators": true // default value
}

TODO

  • Tags completion
  • SVG properties completion

About

Stylus language support for Visual Studio Code

Resources

Packages

No packages published