[英]How to jump to definition for a file in node_modules from VS Code
I have the following file open in Visual Studio Code: 我在Visual Studio代码中打开了以下文件:
@import "~normalize.css/normalize.css";
@import "./fonts.css";
body {
padding: 0;
font-family: "Raleway", sans-serif;
}
I want to be able to navigate from there to the CSS files imported. 我希望能够从那里导航到导入的CSS文件。 I assumed I should use something like Cmd/Ctrl+Click but that doesn't work.
我以为我应该使用类似Cmd / Ctrl + Click的东西,但这不起作用。 Any idea?
任何的想法?
This VS Code extension will provide the functionality you're looking for. 此VS代码扩展将提供您正在寻找的功能。
Once installed, just use F12 to open the source. 安装后,只需使用F12打开源。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.