flutter / flutter/flutter-intellij

Plugin does not always activate on widgets within a collection for

Open
#3,567 1 comment 1 reaction 0 assignees View on GitHub
topic-editing
Dominant language
Java
Stars
2k
Forks
356
Avg merge
1d 11h
Merged PRs (30d)
27

Description

Thanks for the feedback! If your issue is related to the Flutter framework itself,
please open an issue at
[github.com/flutter/flutter](https://github.com/flutter/flutter/issues/new).

## Steps to Reproduce

Given the following code:
```dart
return Wrap(
children: [
for (var image in snapshot.data)
ExtendedImage.memory(
image,
fit: BoxFit.fitWidth,
width: 120,
)
],
);
```

If you tried to wrap the ExtendedImage with another widget, The only way possible is to cut, insert the new widget and then paste. The Help from the Flutter plugin isn't there in this case.
I added a `Container` around it and "remove widget" popped up as an option, but not an option to wrap with another widget
## Version info

[✓] Flutter (Channel stable, v1.5.4-hotfix.2, on Mac OS X 10.14.4 18E226, locale en-US)
• Flutter version 1.5.4-hotfix.2 at /Users/thinkdigital/development/flutter
• Framework revision 7a4c33425d (6 weeks ago), 2019-04-29 11:05:24 -0700
• Engine revision 52c7a1e849
• Dart version 2.3.0 (build 2.3.0-dev.0.5 a1668566e5)


[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /Users/thinkdigital/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• ANDROID_HOME = /Users/thinkdigital/Library/Android/sdk
• Java binary at: /Users/thinkdigital/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/183.5522156/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
• All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.2.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 10.2.1, Build version 10E1001
• ios-deploy 1.9.4
• CocoaPods version 1.5.3

[✓] Android Studio (version 3.4)
• Android Studio at /Users/thinkdigital/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/183.5522156/Android
Studio.app/Contents
• Flutter plugin version 35.2.1
• Dart plugin version 183.6270
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)

[!] IntelliJ IDEA Ultimate Edition (version 2019.1)
• IntelliJ at /Users/thinkdigital/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• For information about installing plugins, see
https://flutter.dev/intellij-setup/#installing-the-plugins

[✓] VS Code (version 1.34.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.1.0

[✓] Connected device (1 available)
• SM G975U • R58M23BRC7J • android-arm64 • Android 9 (API 28)

! Doctor found issues in 1 category.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the behavior in IntelliJ using the Wrap and ExtendedImage example from the issue, with the Flutter plugin version noted there. Compare widget actions for an item inside the collection, including wrapping and removing, and verify that the wrap action is available when expected. The issue names no source file or test, so locating the relevant plugin code and regression coverage will require project familiarity.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter, java
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.