This extension enhances the tooltip provided by the Dart extension in Visual Studio Code. It reformats the parameters to improve readability and make it easier to understand.
- Reorders parameters in the hover tooltip, displaying the name first, followed by its type.
- Install this extension alongside the official Dart extension in Visual Studio Code.
- Hover over a function or method in your Dart code.
- The hover tooltip will display the reformatted function signature.
Before using this extension, a typical hover tooltip would look like this:
void exampleFunction(
String param1,
int param2,
bool? param3
)
After installing this extension, the hover tooltip will be reformatted as:
void exampleFunction(
param1: String,
param2: int,
param3: bool?
)
Dart extension (dart-code.dart-code)
https://marketplace.visualstudio.com/items?itemName=Dart-Code.dart-code
- Download and install this extension from the Visual Studio Code marketplace.
- Ensure that the Dart extension is installed and active.