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

Issues with "Jump to definition" CSS links introduced in August release #59046

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

Comments

@juanpablob
Copy link

  • VSCode Version: 1.27.2
  • OS Version: macOS 10.13.6

Steps to Reproduce:

  1. Create a CSS file called hello-world.scss/css
  2. Create another CSS file, and put @import 'hello-world.scss
  3. After ⌘/Ctrl + clicking the path, you'll get this error: Unable to open 'hello-world': File not found (file:///fakepath/css/hello-world).

While naming hello_word.scss don't trigger any error. As I can guess, the regex in charge is missing filenames with dashes in between.

Cheers!

@octref octref self-assigned this Sep 20, 2018
@octref octref added the css-less-scss Issues and items concerning CSS,Less,SCSS styling label Sep 20, 2018
@octref octref added this to the October 2018 milestone Sep 20, 2018
@octref octref added the bug Issue identified by VS Code Team member as probable bug label Sep 20, 2018
@unite4
Copy link

unite4 commented Oct 19, 2018

VSC looks also for the file with underscore as a prefix, but in SASS it's optional.

20181019_3rdho

@octref octref modified the milestones: October 2018, November 2018 Oct 29, 2018
@octref octref modified the milestones: November 2018, December 2018 Dec 2, 2018
@octref octref modified the milestones: February 2019, On Deck Feb 25, 2019
@octref
Copy link
Contributor

octref commented May 9, 2019

Duplicate of #58204.

@octref octref closed this as completed May 9, 2019
@octref octref added *duplicate Issue identified as a duplicate of another issue(s) and removed bug Issue identified by VS Code Team member as probable bug css-less-scss Issues and items concerning CSS,Less,SCSS styling labels May 9, 2019
@octref octref removed this from the On Deck milestone May 9, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Jun 23, 2019
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