Home
IDEs Support (IntelliJ Platform) | JetBrains
Submit a request
Community
Sign in
Alexander Doroshko
Follow
New articles and posts
New articles, posts, and comments
Total activity
2453
Last activity
March 08, 2023 09:05
Member since
June 09, 2009 09:45
Following
0 users
Followed by
1 user
Votes
0
Subscriptions
842
Activity overview
Articles (0)
Posts (0)
Comments (1611)
Alexander Doroshko
commented,
March 08, 2023 09:05
Official comment
I guess, the official Dart analyzer is the only tool in the world that fully understands the Dart code. Dart analyzer and Analysis Server API is fully open-source. I think the best place for relate...
Community
IntelliJ IDEA Open API and Plugin Development
use a native dart library (package) inside a plugin for dart.
0 votes
Alexander Doroshko
commented,
June 27, 2022 06:21
You are right, you need to use server. There's no function responsible for only and only this task. Searching server api for "staticType" I see that ony HoverInformation contains it.
Community
IntelliJ IDEA Open API and Plugin Development
what is the PSI data structure responsible for retrieving static types of a language?
0 votes
Alexander Doroshko
commented,
June 25, 2022 04:24
If you need somthing trivial, based only on file text, you'll get it by using Dart PSI, without help of Analysis Server. Use PSI Viewer to explore the syntax tree and call getText() of the required...
Community
IntelliJ IDEA Open API and Plugin Development
what is the PSI data structure responsible for retrieving static types of a language?
0 votes
Alexander Doroshko
commented,
June 24, 2022 09:06
Official comment
Dart support in IntelliJ IDEA is based on the Dart Analysis Server. It's a special tool from the Dart SDK that works as a language server. While the Dart plugin still builds PSI, it's not used dire...
Community
IntelliJ IDEA Open API and Plugin Development
what is the PSI data structure responsible for retrieving static types of a language?
0 votes
Alexander Doroshko
commented,
May 16, 2022 11:54
I can say that yes, there's API for everything and yes, everything is possible, but I'll need some time to debug the IntelliJ Platform and find the best way of solving this task. Sorry, no helpful ...
Community
IntelliJ IDEA Open API and Plugin Development
Reference highlighting in Dart
0 votes
Alexander Doroshko
commented,
May 13, 2022 09:54
Official comment
IntelliJ doesn't use AnalysisServer.occurrences() notification for occurrences highlighting but it uses its own standard mechanism, which is based on references resolution, which for Dart means - n...
Community
IntelliJ IDEA Open API and Plugin Development
Reference highlighting in Dart
0 votes
Alexander Doroshko
commented,
April 19, 2022 13:27
There's also a feature request to support the inlay hints natively in the Dart plugin. Please vote to get notified on progress: https://youtrack.jetbrains.com/issue/WEB-53819
Community
IntelliJ IDEA Open API and Plugin Development
How to get the type or custom type of a dart value?
0 votes
Alexander Doroshko
commented,
April 19, 2022 13:25
Official comment
Dart language support in IntelliJ IDEA is based on the Dart Analysis Server. It’s a tool from the Dart SDK, which works as a language server. So, all smartness in the Dart plugin comes from the ser...
Community
IntelliJ IDEA Open API and Plugin Development
How to get the type or custom type of a dart value?
0 votes
Alexander Doroshko
commented,
April 05, 2022 08:48
Official comment
Thank you for the screenshots and the sample project. I don't see any configuration problems with this project. Unfortunately, we don't have enough experience with writing real AIR applications, so...
Community
IntelliJ IDEA Users
Not able to debug Flash project on my connected iPhone
0 votes
Alexander Doroshko
commented,
November 09, 2021 17:22
Official comment
Sorry for delay, I was on vacation. Local variables are renamed in-place. That's true, Dart plugin doesn't call edit.getRefactoring in this case. It uses navigation data (references) instead, which...
Community
IntelliJ IDEA Open API and Plugin Development
Dart: rename variable from the server
0 votes