Giter Club home page Giter Club logo

vscode-sass-indented's Introduction

circleci Custom vscV vscD vscI githubLastCommit githubIssues

Tested With Using

Indented Sass syntax highlighting, autocomplete & Formatter for VSCode

Installing

Search for Sass from the extension installer within VSCode or put this into the command palette.

ext install sass-indented

Features

Syntax Highlighting

AutoCompletions / Intellisense

Formatter

Hover Info

Configuration

Configuration options can be set in the Sass (Indented) section of VSCode settings or by editing your settings.json directly.

General

Option Type Default Description
sass.lint.enable boolean false Enables sass lint, its useless at the moment i abandoned the project, i might work on it in the future.
sass.disableAutoIndent boolean false Stop the extension from automatically indenting when pressing Enter
sass.disableUnitCompletion boolean true adds units to the intellisense completions if false.
sass.andStared array ["active", "focus", "hover", "nth-child"] items in this array will be at the top of the completion list (only for items that show after the & sign)

Formatter

Option Type Default Description
sass.format.enabled boolean true enables the sass formatter.
sass.format.deleteWhitespace boolean true removes trailing whitespace.
sass.format.deleteEmptyRows boolean true removes empty rows.
sass.format.setPropertySpace boolean true If true space between the property: value, is always set to 1.

Usage tips

Variable Completion

You can import using variables and mixins using @import or @use, if you want to only import the css variables, you can easily do that by using a magic comment //import css-variables from <File Path>.

Note: at the moment all variables are global scoped meaning if you declare a variable inside a class you will get

Bugs

IMPORTANT: if the bug is related to the formatter please open the issue in the formatter repo.

If you encounter any bugs please open a new issue.

Contributing

The source for this extension is available on github. If anyone feels that there is something missing or would like to suggest improvements please open a new issue or send a pull request! Instructions for running/debugging extensions locally here.

Note: if you want to contribute to the formatter go to this repo, there is no documentation at the moment, i should probably add it since kinda forgetting how the formatter works myself, so if you want to know how to change something open a new issue and i can probably explain what you need to do.

Credits

Changelog

The full changelog is available here: changelog.

License

MIT - https://opensource.org/licenses/MIT

vscode-sass-indented's People

Contributors

therealsyler avatar robinbentley avatar dependabot[bot] avatar vzhukh avatar psyked avatar lostintangent avatar iroachie avatar thecolorred avatar tobysteward avatar dependabot-preview[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.