Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

In LESS/SCSS, don't hint properties when typing nested selectors #7314

@njx

Description

@njx
  1. Open a LESS or SCSS file
  2. Start a new rule by typing .foo { and hit Enter
  3. Start typing a nested selector, e.g. .bar

Result: When you type .b, we pop up CSS property code hints as if you were typing a property whose name started with b. If we can tell you're typing a selector (i.e., the current token starts with . or #), we should suppress these.

I don't think we can easily fix this if your intention is to type a tag selector (though perhaps we could imagine showing both tags and property names when in a LESS or SCSS file, since it's basically ambiguous which one you want to do when you're in property context).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions