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

Suggestions for other file types returned in css path completions #57446

Closed
RMacfarlane opened this issue Aug 28, 2018 · 1 comment
Closed

Suggestions for other file types returned in css path completions #57446

RMacfarlane opened this issue Aug 28, 2018 · 1 comment
Assignees
Labels
*as-designed Described behavior is as designed

Comments

@RMacfarlane
Copy link
Contributor

Issue Type: Bug

Testing #57309

I expected the completions to only be .css files, but this didn't seem to be the case:

css_import

VS Code version: Code - Insiders 1.27.0-insider (387c79f, 2018-08-28T13:04:31.269Z)
OS version: Darwin x64 17.7.0

@vscodebot vscodebot bot added the insiders label Aug 28, 2018
@octref octref added *as-designed Described behavior is as designed and removed insiders labels Aug 28, 2018
@octref
Copy link
Contributor

octref commented Aug 28, 2018

#57388 (comment)

Welcome to the world of webpack/parcel :)

Yes, you can import JSON files, font files or any files (even gif/videos) in a CSS/JS file, as long as you setup a loader for it. I know this sounds crazy, but people do that.

@octref octref closed this as completed Aug 28, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Oct 13, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*as-designed Described behavior is as designed
Projects
None yet
Development

No branches or pull requests

2 participants