Skip to content

Commit 86a3f06

Browse files
authored
Add some additional instruction in the Flutter Outline message (#7795)
This is a follow-up on #7779
1 parent ed5e456 commit 86a3f06

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

flutter-idea/src/io/flutter/preview/PreviewView.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,11 @@ public void initToolWindow(@NotNull ToolWindow toolWindow) {
199199
text.setBorder(BorderFactory.createEmptyBorder(20, 20, 20, 20));
200200
text.setCharacterAttributes(
201201
StyleContext.getDefaultStyleContext().addAttribute(SimpleAttributeSet.EMPTY, StyleConstants.Foreground, new Color(234, 57, 35)), false);
202-
text.setText("The Flutter Outline window is being removed soon. Use the Structure view instead: View -> Tool Windows -> Structure");
202+
text.setText("""
203+
The Flutter Outline window is being removed soon. Use the Structure view instead: View -> Tool Windows -> Structure\
204+
205+
206+
The refactorings in the Outline view can be found in the editor as Context Actions ⌥⏎ (macOS) / Alt+Enter (Windows/Linux)\s""");
203207
text.setFont(UIManager.getFont("Label.font").deriveFont(Font.BOLD));
204208
warning.add(text);
205209
contentManager.getComponent().add(warning);

0 commit comments

Comments
 (0)