flutter-intellij
flutter-intellij copied to clipboard
Breadcrumb support for Dart code in IntelliJ
Currently we do not have breadcrumb support for Dart code in IntelliJ. It would be especially helpful when we're coding in small screens instead of the structure window.
Here's the issue that was opened in JetBrains' tracker: https://youtrack.jetbrains.com/issue/WEB-33823 but did not get much love.
Thanks for the feedback (and the link to the youtrack issue)!
Looks like support was started, but never finished. https://github.com/JetBrains/intellij-plugins/compare/master...greglittlefield-wf:breadcrumb-2
Can we get some love for this issue (granted, it's a dart thing, as opposed to flutter. But that's like saying it's a problem with the brickwork, not the house)
cc: @greglittlefield-wf
@AAllport I have some time to do a little more work on that, will let you know how far I get!
I did some more work, and I'm getting pretty close to wrapping up the implementation and starting tests!
See the issue for updates and a screenshot of the behavior I have now
You, good sir, are an absolute legend!
@greglittlefield-wf did you have any chance to spend time on this? If not, maybe if you can provide a couple of pointers on how to get started with development to get to where you were and complete the task could motivate someone to get this done?
I haven't had time to work more on this, sorry for not giving an update... but someone is more than welcome to pick up the work in my branch.
For development setup I followed the README in the intellij-plugins repo.
For implementation, I familiarized myself with the PSI structure by using the "PSI Structure" tool mentioned in the README on example Dart files, as well by looking at the Dart PSI class hierarchies, and then looked to the PythonBreadcrumbsInfoProvider in intellij-community as an example for turning that structure into breadcrumb info.
So surprised that a professional ide is lacking this feature. Even more surprised that Google didn't find it important to do for their beloved Dart/Flutter language, especially on Android Studio.
Bumpy bump
Any news? In the meantime I found View | Context Info to be useful in telling me where I am. https://stackoverflow.com/a/1923443/679553