#5396/#5367/#5466: A new experiment allows embedding DevTools pages inside the sidebar instead of as editor tabs. Trying this out requires enabling an experiment flag and then using the hidden value "sidebar"
in the dart.devToolsLocation
setting:
// Enable the experiment
"dart.experimentalSidebarDevTools": true,
// Customise which sections are shown in the sidebar, in an editor tab, or external browser.
"dart.devToolsLocation": {
"inspector": "sidebar", // Embed inspector in sidebar
"default": "beside", // Default other tabs to an editor tab beside the current code editor
"cpu-profiler": "external" // Open the CPU profiler in external browser
},
Please provide feedback on this feature in the Dart-Code repository on GitHub. Existing known issues can be found here.
dart.experimentalTestRunnerInSdk
setting has been removed and the test runner functionality is available when working in the Dart SDK repository automatically..dart_tool/package_config.json
files no longer cause unhandled exceptions that could prevent other packages from being detected correctly for creating clickable links in the terminal.studio
over stduio.sh
when started Android Studio to avoid a warning when Android Studio opens.dart.previewDtdLspIntegration
setting has been removed and the analysis server will now always connect to DTD when using a supported SDK version. If you are interested in integrating with the analysis server over DTD please see this issue about capabilities.toolArgs
launch configuration field has been updated to not use dart run
as an example, as Dart scripts are currently launched by the debug adapter without run
.The following items depend on changes to the Dart/Flutter SDKs that have not yet been released to stable channels. They may be available to test in the current beta/master channels and will show up in future SDK releases.
#5426/#5444: When debugging on the latest SDKs, “inline values” will show for local variables and parameters.
Additionally, enabling the hidden setting "dart.experimentalInlineValuesProperties": true
will show inline values for getters. If you try out these features, please provide feedback on GitHub (useful feedback includes where values may appear unexpectedly, or expected values not showing up).
Some feature requests and fixes require new features and fixes in upstream projects like VS Code and LSP which use counts of 👍s on those issues to help gauge demand. The Dart-Code website now lists some of the most significant upstream issues with a description of the feature/fix they would enable. Please consider reviewing this list and adding your 👍 to any GitHub issues relevant to features you’d like to see!