Skip to content

Conversation

@angelozerr
Copy link
Contributor

'Unknown at rule' on file extensions associated with content type LESS

Fixes #1017

@angelozerr
Copy link
Contributor Author

The CSS language server uses languageId to know if the file is a CSS, LESS, or SCSS

See https://github.com/microsoft/vscode/blob/06bd7ae776e2706a4aba2690d95788327dd16c43/extensions/css-language-features/server/src/cssServer.ts#L140

S we need to force the languageId in plugin.xml in order to give the capability for new content type which extends to LESS / SCSS to apply correctly LESS / SCSS rules

@mickaelistria
Copy link
Contributor

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

'Unknown at rule' on file extensions associated with content type LESS

2 participants