0

我正在使用 NextJS 开发一个简单的Node.js项目,其中Go To Definition在vscode中无法正常工作。

我制作了一个关于Visual Studio CodeWebStorm之间区别的小视频,其中WebStorm可以完美地开箱即用,无需安装任何扩展。

有人知道为什么这在视频中显示的情况下不起作用吗?
想提一下其他Go To Definition工作正常,例如。用于导入或其他局部变量。

有已安装的扩展vscode

Extensions installed on WSL: Ubuntu:
2gua.rainbow-brackets
aaron-bond.better-comments
alefragnani.Bookmarks
Anjali.clipboard-history
BendixMa.dart-data-class-generator
BriteSnow.vscode-toggle-quotes
christian-kohler.path-intellisense
Dart-Code.dart-code
Dart-Code.flutter
DavidAnson.vscode-markdownlint
dbaeumer.vscode-eslint
deque-systems.vscode-axe-linter
eamodio.gitlens
EditorConfig.EditorConfig
esbenp.prettier-vscode
FelixAngelov.bloc
formulahendry.auto-close-tag
formulahendry.auto-rename-tag
Gruntfuggly.todo-tree
IbrahimCesar.ibrahimcesar-nextjs-developer-pack
jeroen-meijer.pubspec-assist
jpoissonnier.vscode-styled-components
k--kato.intellij-idea-keybindings
leodevbro.blockman
luanpotter.dart-import
MariusAlchimavicius.json-to-ts
meganrogge.template-string-converter
mhutchie.git-graph
mikestead.dotenv
ms-vscode.vscode-typescript-tslint-plugin
naco-siren.gradle-language
naumovs.color-highlight
oderwat.indent-rainbow
Orta.vscode-jest
PKief.material-icon-theme
PulkitGangwar.nextjs-snippets
quicktype.quicktype
rangav.vscode-thunder-client
richie5um2.vscode-sort-json
shardulm94.trailing-spaces
shd101wyy.markdown-preview-enhanced
sleistner.vscode-fileutils
streetsidesoftware.code-spell-checker
VisualStudioExptTeam.vscodeintellicode
4

0 回答 0