VSCode Go To Definition 在`import './index.css'` 上不起作用 [英] VSCode Go To Definition does not Work on `import './index.css'`

查看:36
本文介绍了VSCode Go To Definition 在`import './index.css'` 上不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

据我了解,问题 29899 of vscode 解决了这个问题问题...除了,对我来说它似乎不起作用.

From what I understand, issue 29899 of vscode solved this problem... except, for me it does not appear to be working.

我只是希望能够右键单击并单击转到定义"并从导入语句中打开一个 css 文件,而不必翻阅文件夹树来打开它.但它不起作用.

I just want to be able to right click and click "Go to definition" and open a css file from an import statement, instead of having to dig through the folder tree to open it. But it doesn't work.

我需要做什么才能使其正常工作?

What do I need to do to get this working?

推荐答案

这在 VSCode 上对我有用,但在 VSCode Insiders 上不起作用.

This was working for me on VSCode but it wasn't working on VSCode Insiders.

现在,在 Insiders (1.53.0) 的最新版本之后,它在那里也能正常工作.

Now after the latest release of Insiders (1.53.0) it works as well there.

这让我觉得也许全新安装会为您解决这个问题,因为该更新基本上就是这样做的.

That makes me think that perhaps a fresh install will solve it for you, as that update did basically that.

这篇关于VSCode Go To Definition 在`import './index.css'` 上不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆