在最新的“颤振升级”之后,我在 VS Code 调试期间查看某些变量时遇到问题。
如何在悬停时查看变量的内容而不是获取此内容
Screenshot of hovering variable:
这仅发生在某些变量上,其他变量我可以正常查看内容。
颤振医生输出:
[✓] Flutter (Channel stable, 3.10.0, on macOS 13.2.1 22D68 darwin-arm64, locale
en-SE)
• Flutter version 3.10.0 on channel stable at
/opt/homebrew/Caskroom/flutter/2.10.0/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 84a1e904f4 (5 days ago), 2023-05-09 07:41:44 -0700
• Engine revision d44b5a94c9
• Dart version 3.0.0
• DevTools version 2.23.1
[✓] Android toolchain - develop for Android devices (Android SDK version
34.0.0-rc2)
• Android SDK at /Users/niklaselelid/Library/Android/sdk
• Platform android-33, build-tools 34.0.0-rc2
• Java binary at: /Applications/Android
Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14E222b
• CocoaPods version 1.11.3
[✓] Android Studio (version 2020.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
???? https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
???? https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
[✓] VS Code (version 1.78.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.64.0
[✓] Connected device (2 available)
• iPhone 14 Pro Max (mobile) •
• ios
• com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
• macOS (desktop) • macos •
darwin-arm64 • macOS 13.2.1 22D68 darwin-arm64
[✓] Network resources
• All expected network resources are available.
我已经寻找了可能的设置来配置行为。没有运气。
你的代码没有任何问题。有an issue https://github.com/dart-lang/sdk/issues/52430与Dart SDK,尚未解决。请点赞,以获得Dart团队更多的关注。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)