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

Click to link in import CSS doesn't always work #58296

Closed
dippas opened this issue Sep 9, 2018 · 2 comments
Closed

Click to link in import CSS doesn't always work #58296

dippas opened this issue Sep 9, 2018 · 2 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@dippas
Copy link

dippas commented Sep 9, 2018

  • VSCode Version: 1.27.1
  • OS Version: Windows 10 Pro v1803 x64

Steps to Reproduce:

  1. Create a partial file SCSS _partial.scss
  2. Import file partial without extension, something like:
    @import folder/partial
  3. Press Ctrl+click to follow the link to the partial file

Desired Outcome:

  • Always Open the partial file

Actual Outcome:

  • Sometimes Open the partial,
  • Mostly the times throws an error

Unable to open _partial file-: File not found (file:Absolute path to the partial file)

The only way to have the desired outcome is to have the extension .scss, which is not mandatory in @import directive in Sass.

Video demonstrating the bug

Does this issue occur when all extensions are disabled?: Yes

@octref
Copy link
Contributor

octref commented Sep 10, 2018

@dippas Thanks, I learned about that SCSS feature from another issue: #58204 (comment). I'll track this issue over there and fix it this month.

@octref octref added the *duplicate Issue identified as a duplicate of another issue(s) label Sep 10, 2018
@octref octref closed this as completed Sep 10, 2018
@vscodebot
Copy link

vscodebot bot commented Sep 10, 2018

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines.

Happy Coding!

@vscodebot vscodebot bot locked and limited conversation to collaborators Oct 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

3 participants