flutter-intellij icon indicating copy to clipboard operation
flutter-intellij copied to clipboard

Breadcrumb support for Dart code in IntelliJ

Open gazialankus opened this issue 6 years ago • 11 comments

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.

gazialankus avatar Jun 13 '19 16:06 gazialankus

Thanks for the feedback (and the link to the youtrack issue)!

devoncarew avatar Jun 13 '19 17:06 devoncarew

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 avatar May 29 '20 14:05 AAllport

@AAllport I have some time to do a little more work on that, will let you know how far I get!

greglittlefield-wf avatar May 29 '20 22:05 greglittlefield-wf

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

greglittlefield-wf avatar May 31 '20 21:05 greglittlefield-wf

You, good sir, are an absolute legend!

AAllport avatar May 31 '20 22:05 AAllport

@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?

gazialankus avatar Sep 01 '21 22:09 gazialankus

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.

greglittlefield-wf avatar Sep 13 '21 22:09 greglittlefield-wf

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.

natgross avatar Jan 05 '22 23:01 natgross

Bumpy bump

bartekpacia avatar Aug 29 '22 14:08 bartekpacia

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

gazialankus avatar Apr 05 '23 11:04 gazialankus