Support for DartDoc macros
See original GitHub issueWhen jumping to the definition of a function or property within the flutter framework I often see something like the following:
/// {@macro flutter.widgets.widgetsApp.color}
final Color color;
/// {@macro flutter.widgets.widgetsApp.locale}
final Locale locale;
It would be great if IntelliJ would offer some sort of support for these DartDoc macros. I’d love it if IntelliJ would just show inline what the macro is referencing. Or at least provide a link to the referenced location.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:10
- Comments:11 (7 by maintainers)
Top Results From Across the Web
Support for DartDoc macros (Android Studio) #44774 - GitHub
Support for DartDoc macros (Android Studio) #44774 ... I can confirm that the server doesn't provide navigation data for macros in comments.
Read more >How do I create DartDoc Macros/Templates in Dart and Flutter?
You can create templates and use them as macros using dartdoc , which is the default API documentation package that comes with Flutter....
Read more >dartdoc | Dart Package - Pub.dev
Use dart doc to generate HTML documentation for your Dart package. ... Run dart help doc to see the available command-line options.
Read more >dartdoc
Use dartdoc to generate HTML documentaton for your Dart package. ... You can specify “macros”, i.e. reusable pieces of documentation.
Read more >Effective Dart: Documentation - Dart programming language
int get length => ... For historical reasons, dart doc supports two syntaxes of doc comments: /// (“C# style”) and ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Or just go-to-definition clicking a
@macro
going to the@template
would be nice too.This functionality has been rolled into the analysis server - dartdoc hovers in IDEs now show the in-lined content from macros.