V
V
Vechkov Alexander2019-04-18 11:43:17
IDE
Vechkov Alexander, 2019-04-18 11:43:17

Shortening commands (autocomplete) scss in vs code - how?

That means I created a mixin, manually, without abbreviations like emmet for css, so be it:

@mixin title($weight: 400, $size: 40px, $color: $color_dark) {
  font-weight: $weight;
  font-size: $size;
  color: $color;
}

But now I need to call this mixin with the . Here is the code:@include
@include title ($weight: 500, $size: 36px, $color: $color_light);
In fact, every time I have to write all this manually and remember what the variables are called. Is there any plugin that will substitute the variables from the mixin into the include?
Ideally, I write something like this: I press tab and the editor will convert this to: and all I have to do is substitute the desired values ​​for the variable. If there is no solution in vs code, I am ready to consider another editor. Help out!
@in.title
@include title ($weight: , $size: , $color: );

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Makarov, 2019-05-12
@MDiMaI666

yes, press F1. and enter snippets

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question