• Stars
    star
    172
  • Rank 221,201 (Top 5 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created about 8 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

🔌 IntelliSense for Variables, Mixins and Functions in all Sass (SCSS syntax only) files.

vscode-scss

SCSS IntelliSense (Variables, Mixins and Functions) for all files in the workspace.

Donation

Do you like this project? Support it by donating, creating an issue or pull request.

Donate

Install

Plugin installation is performed in several stages:

  • Press F1 and select Extensions: Install Extensions.
  • Search and choose vscode-scss.

See the extension installation guide for details.

Usage

Just install the plugin and use it.

Supported features

  • Code Completion Proposals (variables, mixins, functions) — description
  • Hover (variables, mixins, functions) — description
  • Signature Help (mixins, functions) — description
  • Go to (variables, mixins, functions) — description
  • Show all All Symbol Definitions in Folder (variables, mixin, functions) — description
  • Import files by @import "filepath"; from anywhere. Even outside of the open workspace.
  • Support vue file scss block.

Supported settings

scss.scannerDepth

  • Type: number
  • Default: 30

The maximum number of nested directories to scan.

scss.scannerExclude

  • Type: string[]
  • Default: ["**/.git", "**/node_modules", "**/bower_components"]

List of glob patterns for directories that are excluded when scanning.

scss.scanImportedFiles

  • Type: boolean
  • Default: true

Allows scan imported files.

scss.implicitlyLabel

  • Type: string|null
  • Default: (implicitly)

The text of a label that the file imported implicitly. If null then label not displayed.

scss.showErrors

  • Type: boolean
  • Default: false

Allows to display errors.

scss.suggestVariables

  • Type: boolean
  • Default: true

Allows prompt Variables.

scss.suggestMixins

  • Type: boolean
  • Default: true

Allows prompt Mixins.

scss.suggestFunctions

  • Type: boolean
  • Default: true

Allows prompt Functions.

scss.suggestFunctionsInStringContextAfterSymbols

  • Type: boolean
  • Default: (+-*%

Allows prompt Functions in String context after specified symbols. For example, if you add the / symbol, then background: url(images/he|) will be suggest hello() function if it is defined.

scss.dev.serverPort

  • Type: number
  • Default: -1

Launches the SCSS IntelliSense server at a specific port for debugging and profiling. Used for filing performance issue.

Questions

I don't see suggestions in the SCSS files.

You must perform several steps:

  • Set scss.showErrors option in settings of Editor.
  • Restart VS Code.
  • Try to reproduce your problem.
  • Open Help -> Toggle Developer Tools and copy errors.
  • Create Issue on GitHub.

Changelog

See the Releases section of our GitHub project for changelogs for each release version.

License

This software is released under the terms of the MIT license.

More Repositories

1

fast-glob

🚀 It's a very fast and efficient glob library for Node.js
JavaScript
2,123
star
2

material-color

🔆 The colour palette, based on Google's Material Design, for use in your project.
CSS
133
star
3

material-shadows

💭 Mixins for Material Design Shadows
CSS
85
star
4

emitty

A platform for finding dependencies between files and building tools for incremental compilation or build.
TypeScript
67
star
5

vscode-csscomb

🔌 VS Code plugin for CSScomb — CSS coding style formatter.
TypeScript
65
star
6

vscode-postcss-sorting

🔌 VS Code plugin to sort CSS rules content with specified order.
TypeScript
57
star
7

vscode-duplicate

🔌 Ability to duplicate files in VS Code.
TypeScript
50
star
8

vscode-stylefmt

🔌 VS Code plugin for stylefmt— Format your CSS using stylefmt.
TypeScript
45
star
9

vscode-autoprefixer

🔌 Parse CSS and add vendor prefixes automatically.
TypeScript
40
star
10

yellfy

🐺 🚧 Yellfy is a simple template for your new web application or website.
CSS
32
star
11

vscode-less

🔌 Less intellisense for Variables and Mixins in all Less files.
TypeScript
29
star
12

vscode-apache

🔌 Apache conf syntax highlighting for VS Code.
21
star
13

vscode-json5

🔌 Syntax highlighting of JSON5 files in VS Code.
20
star
14

syncy

📁 One-way synchronization of directories with glob
TypeScript
19
star
15

less-guidebook-for-beginners

📖 Книга о CSS-препроцессоре Less для начинающих и продвинутых пользователей.
19
star
16

vscode-lebab

🔌 VS Code plugin for Lebab — Lebab transpiles your ES5 code to ES2015.
TypeScript
19
star
17

hamburger-icon

🍔 A collection of mixins for creating hamburger icons.
CSS
16
star
18

posthtml-attrs-sorter

📮 Sorting of the tag attributes in the specified order.
JavaScript
15
star
19

yellfy-pug-inheritance

🐺 Determine the inheritance of Pug (Jade) templates.
TypeScript
14
star
20

tslint-config-xo

🚧 XO config for TSLint.
JavaScript
13
star
21

October-Russian-Language

📝 Полный перевод языковых файлов OctoberCMS на русский язык.
PHP
12
star
22

svg2sprite-cli

🔑 CLI interface for svg2sprite.
JavaScript
12
star
23

vscode-doiuse

🔌 Lint CSS for browser support against caniuse database.
TypeScript
11
star
24

less-mq

📎 Really simple media queries in Less.
CSS
10
star
25

svg2sprite

🎆 A very simple module to generate SVG sprites.
TypeScript
10
star
26

windows-ls

📁 Simple implementation of the ls command for windows
JavaScript
10
star
27

vscode-jade-snippets

Jade Snippets for Visual Studio Code.
10
star
28

vscode-vash

🔌 Vash integration for VS Code.
TypeScript
9
star
29

vscode-attrs-sorter

🔌 VS Code plugin for sorting of the tag attributes in the specified order.
JavaScript
8
star
30

scandir-native

A fs.scandir method with some features.
C++
8
star
31

xy-flexbox

📐 XY is a small and very flexible collection of mixins for building grids based on flexbox.
CSS
8
star
32

dotfiles

PowerShell
6
star
33

vscode-pugbeautify

🔌 Simple Pug/Jade beautify plugin for VS Code.
TypeScript
5
star
34

grunt-puglint

🐗 Grunt plugin for pug-lint (formerly Jade)
JavaScript
5
star
35

vscode-puglint

🔌 Linter and style checker for Pug (formerly Jade) as plugin for VS Code.
TypeScript
5
star
36

windows-drive-letters

💾 List of available drive letters for use.
TypeScript
4
star
37

imdisk-wrapper

📦 ImDisk wrapper to create and delete virtual disks.
JavaScript
4
star
38

chrome-vk-commentblocker

Расширение для браузера Google Chrome, которое позволяет скрывать и показывать комментарии.
TypeScript
4
star
39

series-getting-started-node

Код к статьям из серии «Начало работы с Node».
JavaScript
3
star
40

expand-placeholder

📦 Takes a string and interpolates the values.
JavaScript
3
star
41

xy-float

📐 XY (float) is a small and very flexible collection of mixins for building grids based on floating elements.
CSS
2
star
42

less-symbols-parser

A very simple and fast Less parser for Mixins, Variables and Imports.
TypeScript
2
star
43

scss-symbols-parser

A very simple and fast SCSS parser for Mixins, Functions, Variables and Imports.
TypeScript
2
star
44

vscode-slm

🔌 Slm language support for VS Code.
1
star
45

bencho

A command-line benchmarking tool.
TypeScript
1
star
46

vscode-config-resolver

Deprecated. Use «config-profiler».
TypeScript
1
star
47

gulp-example-plugin

Пример плагина для статьи «Пишем ваш первый плагин для Gulp»
JavaScript
1
star
48

yellfy-svg-sprite

🐺 svg2sprite wrapper for easy integration into the development process.
TypeScript
1
star