Repository navigation
Flutter Outline #605
Copy link
Copy link
Closed
Labels
in flutterRelates to running Flutter appsRelates to running Flutter appsis enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.An enhancement or improvement that should be listed in release notes but is not a bug fix.
Milestone
Description
This case is to implement something similar to the Flutter Outline view from IntelliJ (note: this is still heavily in dev, using an experimental API and subject to change!)
- Implement basic tree
- Navigate to code on selection
- Stop outline refactor commands appearing in the palette
- Refactors on context menu (Allow fetching of all Flutter Outline refactors for a given file in a single request (or include in Outline) dart-lang/sdk#32462)
- Widget (Flutter) icons
- Tree nodes collapse when performing refactor
- Tooltips
- Add a preview flag
- Sorting of context menu is bad
- Require 1.20 analysis server
- Update to new ranges provided by server 1.20
- Stale data renders while waiting for updated data when switching file
- Highlight code for selected item (Expose API for highlighting a portion of the document (as used in document symbol list) microsoft/vscode#45059)
- Position code on screen better (editor.revealRange should ensure first line of range is always visible microsoft/vscode#45742)
- Reveal tree node as navigating code
- Clicking out of editor (eg into debug output) shouldn't hide Outline (debug window is unexpectedly considered a "text editor" microsoft/vscode#45188)
- Set unique IDs per node (globally unique) so updating code/running refactor keeps correct item selected
- Don't collapse nodes on clicking (TreeDataProvider: allow selecting a TreeItem without affecting its collapsibleState microsoft/vscode#34130)
- Show outline above deps (How can I control the ordering of explorer trees? microsoft/vscode#45053)
- Tree loses focus on click (so can't navigate with keyboard)
- Method/field icons? (Allow tree views to use icons for symbol kinds on their nodes microsoft/vscode#45057)
- Move to its own sidebar icon
- Remove
enableProposedApi - Doesn't unselect node when you move out of all elements (Allow programatically un-selecting an item in a contributed tree microsoft/vscode#48754)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
in flutterRelates to running Flutter appsRelates to running Flutter appsis enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.An enhancement or improvement that should be listed in release notes but is not a bug fix.

Activity
[-]Flutter outline view[/-][+]Flutter Preview[/+][-]Flutter Preview[/-][+]Flutter Outline[/+]chances commentedon Feb 28, 2018
What does this issue cover?
DanTup commentedon Mar 5, 2018
Apologies, I thought I'd replied to this! This case is to attempt to add something like the Flutter Outline view that was added to IntelliJ recently:
https://groups.google.com/forum/#!topic/flutter-dev/lKtTQ-45kc4
Add basic plumbing for Flutter Outline.
Get basic tree-like behaviour working
Improve node text and jump to code in Flutter Outline
Render attributes as children in Flutter Outline
Add the ability to show commands on context menu for Flutter Outline …
Wire up all the outline commands
284 remaining items
Always scroll to code after selecting
Fix up refactor extension from Outline
Start everything expanded and only fetch assists for widgets
Add Flutter Outline behind a preview flag
Fix ordering of context menu items in Flutter Outline
Update Outline's showing of code to scroll and move cursor
For refresh of tree when data is removed
Fix quirks with showing/hiding outline
Add basic plumbing for Flutter Outline.
Get basic tree-like behaviour working
Improve node text and jump to code in Flutter Outline
Render attributes as children in Flutter Outline
Add the ability to show commands on context menu for Flutter Outline …
sionicion commentedon May 26, 2019
What's the current status on this? Is there a way to test the current state of it?
DanTup commentedon May 27, 2019
There's been no real progress on this. Periodically I come back to it, rebase the changes I have and test them out, but each time I'm disappointed with the behaviour. There are two possible implementations but both of them have significant issues that aren't resolved.
<function>microsoft/vscode#51332)I think the second option is best, but unless Code gets a fix for the issue above, it's not really a good option.