question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"Open Widget Sample" in IntelliJ creates the Counter sample

See original GitHub issue

@johnpryan commented on Aug 30, 2019, 2:58 PM UTC:

On the master channel, the “Open Widget Sample” feature creates the Counter sample, not the sample that was selected.

Steps to Reproduce

  1. open the Flutter framework package in IntelliJ
  2. Navigate to src/material/chips.dart
  3. select the onDeleted widget sample and hit “Go…”

Screen Shot 2019-08-30 at 7 49 09 AM

  1. Observe that the sample is the counter sample, not the sample in the docs.

Flutter doctor output

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v1.9.6-pre.57, on Mac OS X 10.14.6 18G84, locale
    en-US)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 10.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 3.4)
[✓] Android Studio
[✓] IntelliJ IDEA Ultimate Edition (version 2019.2)
[✓] VS Code (version 1.37.1)
[✓] Connected device (1 available)

• No issues found!

This issue was moved by devoncarew from flutter/flutter#39571.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
DanTupcommented, Sep 7, 2019

Only just saw this, but looks like it was IntelliJ-specific. VS Code passes --sample here.

1reaction
frextritecommented, Sep 6, 2019

@pq Already on it 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

IntelliJ IDEA - Tutorial: Create your first Android application
In this tutorial, we will create a simple yet fully-functional Android application that counts how many times you tap a droid image.
Read more >
Auto import | IntelliJ IDEA Documentation - JetBrains
Basic procedures to create and optimize imports in IntelliJ IDEA. Learn more how to import the missing import or XML namespace.
Read more >
Disable and suppress inspections | IntelliJ IDEA Documentation
By default, IntelliJ IDEA highlights all detected code problems. Hover the mouse over the widget in top-right corner of the editor and select ......
Read more >
Creating the package and class - IntelliJ IDEA Guide - JetBrains
2) To create the standard Java main method, type main . IntelliJ IDEA displays a live template that you can use to generate...
Read more >
User interface | IntelliJ IDEA Documentation - JetBrains
The navigation bar at the top is a quick alternative to the Project view, where you can navigate the structure of your project...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found