Groups
Groups
Sign in
Groups
Groups
Dart Analyzer Discussion
Conversations
About
Send feedback
Help
Dart Analyzer Discussion
1–30 of 299
Mark all as read
Report group
0 selected
dark...@gmail.com
, …
Konstantin Shcheglov
3
Aug 11
Is there an easy way to obtain an Element/DartType for a symbol that is not imported by the current library?
We have `Future<SomeLibraryElementResult> getLibraryByUri(String uri)` in `AnalysisSession`. We
unread,
Is there an easy way to obtain an Element/DartType for a symbol that is not imported by the current library?
We have `Future<SomeLibraryElementResult> getLibraryByUri(String uri)` in `AnalysisSession`. We
Aug 11
dark...@gmail.com
,
Brian Wilkerson
3
Apr 25
Using analyzer_plugin's how write a deletion for N elements in a NodeList?
Not quite, as: - I don't have an ArgumentList, just a NodeList - The elements removed aren't
unread,
Using analyzer_plugin's how write a deletion for N elements in a NodeList?
Not quite, as: - I don't have an ArgumentList, just a NodeList - The elements removed aren't
Apr 25
Shashwat Singh
,
Brian Wilkerson
4
Apr 22
How to analyze for other codebases
That sounds like it might be a question better asked on one of the Flutter channels on Discord (https
unread,
How to analyze for other codebases
That sounds like it might be a question better asked on one of the Flutter channels on Discord (https
Apr 22
Samuel Peirson
, …
Jeff Ward
11
Feb 4
Really slow analyzer
I did have similar issues when it was split, for what it's worth. I was actually hoping that
unread,
Really slow analyzer
I did have similar issues when it was split, for what it's worth. I was actually hoping that
Feb 4
harshada senad
,
Brian Wilkerson
2
9/19/24
Question on dart fix --apply
> Is there a way to raise a feature request with the Dart team? Yes. Issues and feature requests
unread,
Question on dart fix --apply
> Is there a way to raise a feature request with the Dart team? Yes. Issues and feature requests
9/19/24
Patt O'Brien
,
Brian Wilkerson
2
8/20/24
Disambiguous source URI for a Dart declaration?
Is there a particular URI format that can be used to encode Dart declaration locations? There isn
unread,
Disambiguous source URI for a Dart declaration?
Is there a particular URI format that can be used to encode Dart declaration locations? There isn
8/20/24
dark...@gmail.com
, …
Danny Tuppeny
8
8/19/24
Analyzer_plugin somehow only receives plugin.versionCheck
Thanks! I'll test with that and follow up on the issue. On Monday 19 August 2024 at 12:44:37 UTC+
unread,
Analyzer_plugin somehow only receives plugin.versionCheck
Thanks! I'll test with that and follow up on the issue. On Monday 19 August 2024 at 12:44:37 UTC+
8/19/24
dark...@gmail.com
,
Brian Wilkerson
5
7/31/24
Is there a way to start AnalysisContextCollection in watch mode?
In that case, when are we supposed to create a new AnalysisContextCollection? The analysis server
unread,
Is there a way to start AnalysisContextCollection in watch mode?
In that case, when are we supposed to create a new AnalysisContextCollection? The analysis server
7/31/24
dark...@gmail.com
, …
Konstantin Shcheglov
3
6/24/24
How to get a Source for a given File now that .createSource is deprecated?
You can instantiate `FileSource` directly, it is an API now. Theoretically (not now yet), you don
unread,
How to get a Source for a given File now that .createSource is deprecated?
You can instantiate `FileSource` directly, it is an API now. Theoretically (not now yet), you don
6/24/24
Alexandre “BuyMyBeard” Lacombe
, …
Danny Tuppeny
3
6/6/24
How can I get the VM Service URI of current Dart Analyzer process
You need to use the dart.analyzerVmServicePort setting in VS Code to enable the VM Service for the
unread,
How can I get the VM Service URI of current Dart Analyzer process
You need to use the dart.analyzerVmServicePort setting in VS Code to enable the VM Service for the
6/6/24
Abenezer Belay
,
Brian Wilkerson
3
3/7/24
How to create AnalysisContextCollection without having to pass paths? (using MemoryResourceProvider maybe)
Hi @brianwilkerson, That was exactly what I wanted. ParseString worked perfectly. Thank you! On
unread,
How to create AnalysisContextCollection without having to pass paths? (using MemoryResourceProvider maybe)
Hi @brianwilkerson, That was exactly what I wanted. ParseString worked perfectly. Thank you! On
3/7/24
dark...@gmail.com
, …
Brian Wilkerson
4
2/26/24
How to find the AstNode related to where an identifier is defined?
Is there an easy way to locate the AstNode associated to where a variable was defined? Not that I
unread,
How to find the AstNode related to where an identifier is defined?
Is there an easy way to locate the AstNode associated to where a variable was defined? Not that I
2/26/24
dark...@gmail.com
,
Brian Wilkerson
6
2/12/24
Using `VariableElement.computeConstantValue`, can we read fields from superclasses?
I created https://github.com/dart-lang/sdk/issues/54895 so that we could discuss various possible
unread,
Using `VariableElement.computeConstantValue`, can we read fields from superclasses?
I created https://github.com/dart-lang/sdk/issues/54895 so that we could discuss various possible
2/12/24
Patt O'Brien
,
Brian Wilkerson
3
2/7/24
Macros: Introspecting Parameter default values and Doc Comments
Thanks for the suggestion Brian - I've opened up an issue there (y) On Wednesday, February 7,
unread,
Macros: Introspecting Parameter default values and Doc Comments
Thanks for the suggestion Brian - I've opened up an issue there (y) On Wednesday, February 7,
2/7/24
Ketto Egy
,
Brian Wilkerson
2
1/31/24
get classes from parsed library
If you're asking about documentation for the `analyzer` package beyond the API documentation,
unread,
get classes from parsed library
If you're asking about documentation for the `analyzer` package beyond the API documentation,
1/31/24
Brett Sutton
,
Brian Wilkerson
2
12/3/23
identify the scope/owner of a simpleidentifier
You should be able to ask the `SimpleIdentifier` associated with 'header' for its '
unread,
identify the scope/owner of a simpleidentifier
You should be able to ask the `SimpleIdentifier` associated with 'header' for its '
12/3/23
dark...@gmail.com
,
Brian Wilkerson
2
12/2/23
Can AstNode.root return anything other than a CompilationUnit?
When we serialize the element model (our summary files) we need to capture the constant expressions
unread,
Can AstNode.root return anything other than a CompilationUnit?
When we serialize the element model (our summary files) we need to capture the constant expressions
12/2/23
he auto
,
Brian Wilkerson
3
11/23/23
Why sort dart keywords first when constructing a keyword transition table in the 'keyword_state. dart' file
Ok. Thanks a lot for your answer. I think I got the key point now. 在2023年11月21日星期二 UTC+8 06:32:07<
unread,
Why sort dart keywords first when constructing a keyword transition table in the 'keyword_state. dart' file
Ok. Thanks a lot for your answer. I think I got the key point now. 在2023年11月21日星期二 UTC+8 06:32:07<
11/23/23
Brian Wilkerson
,
2333 heel
6
11/21/23
Re: [analyzer-discuss] How to get the dart files which refers current dart file with analyzer:6.2.0 and analyzer_plugin: 0.11.3 ?
Thanks for the advice. Brian Wilkerson <brianwi...@google.com> 于2023年11月21日周二 06:12写道: I
unread,
Re: [analyzer-discuss] How to get the dart files which refers current dart file with analyzer:6.2.0 and analyzer_plugin: 0.11.3 ?
Thanks for the advice. Brian Wilkerson <brianwi...@google.com> 于2023年11月21日周二 06:12写道: I
11/21/23
Brett Sutton
2
11/20/23
SimpleIdentifiier doesn't resolve staticElement
I've had a chat on the discord and now understand that staticElement can't be set in an
unread,
SimpleIdentifiier doesn't resolve staticElement
I've had a chat on the discord and now understand that staticElement can't be set in an
11/20/23
Brian Wilkerson
11/16/23
New Discord channel
In an effort to make it easier for folks that are trying to implement analysis on top of the `
unread,
New Discord channel
In an effort to make it easier for folks that are trying to implement analysis on top of the `
11/16/23
Patt O'Brien
, …
Dmitry Zhifarsky
8
10/26/23
Creating Lint Rule logic: seeking tips-and-tricks
Looks like this might be an example of such a comment https://github.com/dart-lang/sdk/blob/main/pkg/
unread,
Creating Lint Rule logic: seeking tips-and-tricks
Looks like this might be an example of such a comment https://github.com/dart-lang/sdk/blob/main/pkg/
10/26/23
Shirish Kadam
,
Brian Wilkerson
7
3/21/23
Using Dart Analysis Server for IntelliJ plugin development for Flutter
Interesting, meaning I'll just have to rely on Dart PSI offered by IntelliJ for now. It won't
unread,
Using Dart Analysis Server for IntelliJ plugin development for Flutter
Interesting, meaning I'll just have to rely on Dart PSI offered by IntelliJ for now. It won't
3/21/23
Brian Wilkerson
,
郑勇
2
3/21/23
Re: [analyzer-discuss] How to use plugin analysis to suppress error prompts?
I see. Thank you for your answer 'Brian Wilkerson' via Dart Analyzer Discussion <analyzer-
unread,
Re: [analyzer-discuss] How to use plugin analysis to suppress error prompts?
I see. Thank you for your answer 'Brian Wilkerson' via Dart Analyzer Discussion <analyzer-
3/21/23
Claudiu
,
Brian Wilkerson
3
3/20/23
analysis_server using different analyzer_plugin package than the plugin I'm developing?
No worries. I imagine you have little time to spend on these kinds of issues. I'm aware you don
unread,
analysis_server using different analyzer_plugin package than the plugin I'm developing?
No worries. I imagine you have little time to spend on these kinds of issues. I'm aware you don
3/20/23
dark...@gmail.com
, …
Konstantin Shcheglov
5
3/9/23
How to programmatically trigger an InconsistentAnalysisException and how to retry the analysis after such an error?
Thanks a lot! Le jeudi 9 mars 2023 à 20:25:16 UTC+1, sche...@google.com a écrit : Here is code that
unread,
How to programmatically trigger an InconsistentAnalysisException and how to retry the analysis after such an error?
Thanks a lot! Le jeudi 9 mars 2023 à 20:25:16 UTC+1, sche...@google.com a écrit : Here is code that
3/9/23
Dmitry Zhifarsky
,
Konstantin Shcheglov
6
2/19/23
How a file change is propagated to other dependent files?
On Sat, Feb 18, 2023 at 12:00 AM Dmitry Zhifarsky <dimann...@gmail.com> wrote: Thank you, I
unread,
How a file change is propagated to other dependent files?
On Sat, Feb 18, 2023 at 12:00 AM Dmitry Zhifarsky <dimann...@gmail.com> wrote: Thank you, I
2/19/23
Patrice Tisserand
, …
Dmitry Zhifarsky
4
1/31/23
How to detect unused variable with analyzer package?
Thanks a lot for your reply! By checking `errors` for my unit I can test my source code generator.. I
unread,
How to detect unused variable with analyzer package?
Thanks a lot for your reply! By checking `errors` for my unit I can test my source code generator.. I
1/31/23
Dmitry Zhifarsky
,
Brian Wilkerson
3
1/27/23
Making SimpleIdentifierImpl scopeLookupResult available on the interface type
Yeah, this works, thank you! Was not expecting it there, to be honest 😅 пятница, 27 января 2023 г. в
unread,
Making SimpleIdentifierImpl scopeLookupResult available on the interface type
Yeah, this works, thank you! Was not expecting it there, to be honest 😅 пятница, 27 января 2023 г. в
1/27/23
Patt O'Brien
,
Max Tamburini
7
1/19/23
package:sidecar - Single-isolate, multi-package lint architecture
Hey Max - Sorry for the delay, I'm just now seeing your past message after getting some much
unread,
package:sidecar - Single-isolate, multi-package lint architecture
Hey Max - Sorry for the delay, I'm just now seeing your past message after getting some much
1/19/23