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

[css/scss] Go to definition for css/sass @import #29899

Closed
mjbvz opened this issue Jun 30, 2017 · 11 comments
Closed

[css/scss] Go to definition for css/sass @import #29899

mjbvz opened this issue Jun 30, 2017 · 11 comments
Assignees
Labels
css-less-scss Issues and items concerning CSS,Less,SCSS styling feature-request Request for new features or functionality on-testplan
Milestone

Comments

@mjbvz
Copy link
Collaborator

mjbvz commented Jun 30, 2017

Feature Request
Support go to definition on css@imports

@import url(./otherFile.css)

and sass style imports:

@import 'otherFile.css'

Go to definition on otherFile.cssshould try to open otherFile.css in the workspace

@mjbvz mjbvz added css-less-scss Issues and items concerning CSS,Less,SCSS styling feature-request Request for new features or functionality labels Jun 30, 2017
@mjbvz mjbvz changed the title Go to definition for css @import Go to definition for css/sass @import Jun 30, 2017
@aeschli aeschli changed the title Go to definition for css/sass @import [css/scss] Go to definition for css/sass @import Sep 12, 2017
@aeschli aeschli added this to the Backlog milestone Sep 12, 2017
@gidztech
Copy link

I've started using VSCode after using WebStorm for quite some time, and this is something I'm really missing. For example, I used to be able to Ctrl/Cmd + Click on a SASS mixin and it would take me to the definition in WebStorm. The import issue also applies to HTML.

@JoshuaSoileau
Copy link

+1

@antenando
Copy link

This is the only one thing keeping me from using @code, too. Still using WebStorm...

@patie
Copy link

patie commented May 3, 2018

@antenando exactly!

@luke-m
Copy link

luke-m commented May 24, 2018

This feature is dearly missed. Please implement.

@kasvtv
Copy link

kasvtv commented May 31, 2018

It is so dearly missed by myself as well. VScode seems a particularly popular choice for big front-end projects, so this would have tons of use.

@0reo27
Copy link

0reo27 commented Jun 4, 2018

One of my projects is growing to a point where I need to have this. 😕

@RayMcCl
Copy link

RayMcCl commented Jun 6, 2018

Would be an excellent addition, especially if supported in the same manner as JS imports where aliasing can be configured in jsconfig.json or something similar.

@arbaouimehdi
Copy link

Is there any vscode plugin solving the problem ?!

@nickyhaze
Copy link

I’d also love this to have! A reason for me to stay with Webstorm!

@octref octref self-assigned this Aug 9, 2018
@octref octref modified the milestones: Backlog, August 2018 Aug 9, 2018
octref added a commit to microsoft/vscode-css-languageservice that referenced this issue Aug 14, 2018
octref added a commit that referenced this issue Aug 14, 2018
@kevinkace
Copy link

kevinkace commented Aug 16, 2018

Would it be possible to also support css-modules import and composes syntax?

import otherClass from "./otherFile.css";

.newClass {
    composes: differentClass from "./otherFile.css";
}

octref added a commit to microsoft/vscode-css-languageservice that referenced this issue Aug 20, 2018
octref added a commit that referenced this issue Aug 20, 2018
octref added a commit that referenced this issue Aug 20, 2018
Vscode-Extractor pushed a commit to vscode-langservers/vscode-css-languageserver that referenced this issue Aug 20, 2018
@aeschli aeschli added the verification-needed Verification of issue is requested label Aug 27, 2018
@octref octref added on-testplan and removed verification-needed Verification of issue is requested labels Aug 28, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Oct 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
css-less-scss Issues and items concerning CSS,Less,SCSS styling feature-request Request for new features or functionality on-testplan
Projects
None yet
Development

No branches or pull requests