microsoft / microsoft/vscode-css-languageservice

[scss] Add @include with nested selectors to Outline View

Open
#193 3 comments 1 reaction 1 assignee View on GitHub

@aeschli is already working on this.

Since Nov 13, 2019.

feature-request help wanted
Dominant language
TypeScript
Stars
384
Forks
217
Avg merge
3d 16h
Merged PRs (30d)
14

Description

It’s extremely common for SCSS developers to use @include as shortcut for @media queries or often-repeated selectors, .e.g.:

@include tablet {
  .box {
  }
}

@include dark-mode {
  .menu {
  }
}

However, selectors nested inside @include don’t appear nested in the Outline View, as they would if nested in @media since cdf495432eb8c1cba25e9d83b94895305c757cd1. It’d be extremely useful to see these in the outline as well.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.