WebStorm supports developing, running, and debugging Dart code.
*.dart files, and allows you to edit them
providing full range of coding assistance.
Dart files are marked with the icon.
Dart is intended for developing both client-side and server-side applications. WebStorm supports both workflows.
- For running and debugging the server-side code, WebStorm provides a dedicated run/debug configuration of the type Dart Command Line Application.
When the Dart development support is enabled, see Preparing for Dart Development, WebStorm provides full coding assistance, which involves:
- Code completion for keywords, labels, variables, parameters and functions.
- Error and syntax highlighting.
- Code formatting and folding.
- Numerous code inspections and quick-fixes.
- Common refactoring procedures, such as extract method , inline, rename/move, etc.
- Code generation:
Navigation and search through the source code:
- Navigating with Structure View.
- Navigate | Declaration (Ctrl+B).
- Navigate | Implementation (Ctrl+Alt+B) from overridden method / subclassed class.
In this section:
- Preparing for Dart Development
- Testing Dart
- Running and Debugging Dart
- Managing Dart Packages and Assets