Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Future] Document new analyzer plugin system #5892

Open
Tracked by #53402
MaryaBelanger opened this issue Jun 4, 2024 · 0 comments
Open
Tracked by #53402

[Future] Document new analyzer plugin system #5892

MaryaBelanger opened this issue Jun 4, 2024 · 0 comments
Assignees
Labels
e2-days Can complete in < 5 days of normal, not dedicated, work p2-medium Necessary but not urgent concern. Resolve when possible. st.triage.ltw Indicates Lead Tech Writer has triaged t.cli-tools Relates to the dart command line tools

Comments

@MaryaBelanger
Copy link
Contributor

New design that allows users to extend the functionality of the analysis server, making it so it doesn't require so much memory to run multiple plugins.

User-facing behavior change (what needs to be documented), from the design doc:

Developers can specify that a package (or a set of packages, like in a mono-repo) is to be analyzed with a set of analyzer plugins by specifying pub package names and version constraints in an analysis_options.yaml file.

In the plugins2 (name likely to change) section of the file, developers can include a simple list of analyzer plugin package names, each mapped to a version constraint. This looks exactly like the pubspec dependencies map.

Also document some context, why users might want to do this and who it's useful for.

Where: Something like a sibling page to https://dart.dev/tools/analysis, but much shorter.

@MaryaBelanger MaryaBelanger self-assigned this Jun 4, 2024
@atsansone atsansone added p2-medium Necessary but not urgent concern. Resolve when possible. t.cli-tools Relates to the dart command line tools e2-days Can complete in < 5 days of normal, not dedicated, work st.triage.ltw Indicates Lead Tech Writer has triaged labels Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
e2-days Can complete in < 5 days of normal, not dedicated, work p2-medium Necessary but not urgent concern. Resolve when possible. st.triage.ltw Indicates Lead Tech Writer has triaged t.cli-tools Relates to the dart command line tools
Projects
None yet
Development

No branches or pull requests

2 participants