Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for CSS next #47

Closed
szimek opened this issue Oct 24, 2017 · 8 comments
Closed

Add support for CSS next #47

szimek opened this issue Oct 24, 2017 · 8 comments
Assignees
Labels
feature-request Request for new features or functionality
Milestone

Comments

@szimek
Copy link

szimek commented Oct 24, 2017

According to this comment one should create separate issues for individual features, so here it is :)

It would be great if cssnext nesting was supported. Currently, such syntax causes VS Code to report it as an error, e.g.

vs-code-css-next-syntax-error

Are cssnext features in scope of this CSS language service or should they be implemented as an extension instead?

@aeschli
Copy link
Contributor

aeschli commented Oct 24, 2017

CSSnext support is not planned. But we want to support whatever gets added to CSS specs.

@aeschli aeschli added this to the Backlog milestone Oct 24, 2017
@aeschli aeschli added the feature-request Request for new features or functionality label Oct 24, 2017
@aeschli aeschli changed the title Add support for CSS next nesting feature Add support for CSS next Oct 26, 2017
@chriseppstein
Copy link

@aeschli I think this is good, it would be confusing for developers to not get syntax errors for invalid syntax intended for browsers unless they've opted into support for future features. That said, these features are usually on track to become css and so it's not entirely wasted effort to build support for the new features a bit early -- hidden behind feature flags to which devs would have to opt in.

Another approach would be for the css-next community to maintain a fork of this project, ideally with a git branch per future spec feature and a merge branch for release and when these specs reach maturity a PR could be submitted.

@praveenpuglia
Copy link
Contributor

Couldn't this be made into an extension of some sort?

@sorenhoyer
Copy link

I would love cssnext support as well - if not built-in, then in an extension of some sort. cssnext really is the most logical pick today, over LESS and SASS imo.

@onetrev
Copy link

onetrev commented Dec 23, 2017

Hey @praveenpuglia @sorenhoyer and @szimek ... There is support for CSSNext with this PostCSS extension.

Unfortunately, as per the usual with VS Code not supporting cross file references ('imports'), you still can't get custom properties / variable autocomplete or Go To Declaration and such. But it's a start. It would be great to see more PostCSS support added to this extension or others created, as I agree it's very much the logical pick today and it's really gaining steam -- fast!

@szimek
Copy link
Author

szimek commented Feb 12, 2018

@onetrev Like you've noticed yourself in this comment, this vscode-postcss-language extension doesn't really support cssnext :/

@EECOLOR
Copy link

EECOLOR commented Sep 26, 2019

Would be nice if we could add these kinds of things using custom data.

@aeschli
Copy link
Contributor

aeschli commented Nov 11, 2020

Closing as out-of-scope

@aeschli aeschli closed this as completed Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

7 participants