Open felipebueno opened 1 year ago
This sort of functionality would be better suited to an analyzer plugin (https://github.com/dart-lang/sdk/tree/main/pkg/analyzer_plugin), which is how packages like dart_code_metrics and custom_lint provide their diagnostics and fixes. It's not feasible for this extension (or the analysis server from the SDK that powers the language functionality) to provide framework-specific supports for all popular frameworks.
However, analyzer plugins are currently limited to one-per-session and are not officially supported. It's possible these APIs will go away or change significantly. I'd suggest waiting until it's clearer what support the server may have for plugins going forwards to decide what the best way forward for this is.
Rather than close this and it be forgotten about, I'll keep it open the with the bot to nag so I can provide some additional notes here when it's clearer what the plan with plugins is (although I don't know when that will be - it's not something I'm directly involved in, but I am followin).
This issue has been marked stale because it is tagged awaiting-info for 20 days with no activity. Remove the stale label or comment to prevent the issue being closed in 10 days.
This issue has been marked stale because it is tagged awaiting-info for 20 days with no activity. Remove the stale label or comment to prevent the issue being closed in 10 days.
This issue has been marked stale because it is tagged awaiting-info for 20 days with no activity. Remove the stale label or comment to prevent the issue being closed in 10 days.
This issue has been marked stale because it is tagged awaiting-info for 20 days with no activity. Remove the stale label or comment to prevent the issue being closed in 10 days.
This issue has been marked stale because it is tagged awaiting-info for 20 days with no activity. Remove the stale label or comment to prevent the issue being closed in 10 days.
@jacob314 @srawlins fyi - some possible requirements for plugins here.
Is your feature request related to a problem? Please describe. Not really a problem.
Describe the solution you'd like Jaspr comes with a component system that is very similar to Flutters widgets with small differences in the build method.
Describe alternatives you've considered Writing my own snippets. But it would be great having refactoring options such as wrap with, swap with, quick fixes, more snippets, etc.
Additional context https://docs.page/schultek/jaspr