@raveesh-me commented on Feb 9, 2018, 3:26 PM UTC:
Install Android Studio
Install IntelliJ IDEA Community and Ultimate
Open a Flutter App
In Preferences -> Editor -> General -> Appearance
the "Show closing labels in dart source code" option is available in IntelliJ IDEA IDEs but not in android studio.
N/A
[ +17 ms] [/Users/raveesh/MyCode/SDKs/Flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +45 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/alpha
[ ] [/Users/raveesh/MyCode/SDKs/Flutter/] git rev-parse --abbrev-ref HEAD
[ +13 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] alpha
[ ] [/Users/raveesh/MyCode/SDKs/Flutter/] git ls-remote --get-url origin
[ +12 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] [https://github.com/flutter/flutter.git](https://github.com/flutter/flutter.git)
[ ] [/Users/raveesh/MyCode/SDKs/Flutter/] git log -n 1 --pretty=format:%H
[ +14 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[ ] [2e449f0](https://github.com/flutter/flutter/commit/2e449f06f0a3be076e336ad6b30b0e9ec99dbdfe)
[ ] [/Users/raveesh/MyCode/SDKs/Flutter/] git log -n 1 --pretty=format:%ar
[ +12 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar
[ ] 11 days ago
[ ] [/Users/raveesh/MyCode/SDKs/Flutter/] git describe --match v._._ --first-parent --long --tags
[ +14 ms] Exit code 0 from: git describe --match v._._ --first-parent --long --tags
[ ] v0.0.21-0-g2e449f06f
[ +181 ms] /usr/bin/defaults read /Applications/Android Studio.app/Contents/Info CFBundleShortVersionString
[ +64 ms] Exit code 0 from: /usr/bin/defaults read /Applications/Android Studio.app/Contents/Info CFBundleShortVersionString
[ ] 3.0
[ +185 ms] [✓] Flutter (on Mac OS X 10.13.3 17D47, locale en-IN, channel alpha)
[ +1 ms] • Flutter version 0.0.21 at /Users/raveesh/MyCode/SDKs/Flutter
[ ] • Framework revision 2e449f0 (11 days ago), 2018-01-29 14:26:51 -0800
[ ] • Engine revision 6921873
[ ] • Tools Dart version 2.0.0-dev.16.0
[ ] • Engine Dart version 2.0.0-edge.da1f52592ef73fe3afa485385cb995b9aec0181a
[ +9 ms] /usr/bin/defaults read /Applications/Android Studio.app/Contents/Info CFBundleShortVersionString
[ +57 ms] Exit code 0 from: /usr/bin/defaults read /Applications/Android Studio.app/Contents/Info CFBundleShortVersionString
[ ] 3.0
[ +107 ms] java -version
[ +91 ms] [✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[ ] • Android SDK at /Users/raveesh/Library/Android/sdk
[ ] • Android NDK location not configured (optional; useful for native profiling support)
[ ] • Platform android-27, build-tools 27.0.3
[ ] • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
[ ] • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
[ +163 ms] DevToolsSecurity -status
[ +56 ms] Developer mode is currently enabled.
[ ] python -c import six
[ +71 ms] idevice_id -h
[ +11 ms] idevice_id -h
[ +22 ms] idevice_id -l
[ +23 ms] ideviceinstaller -h
[ +9 ms] ios-deploy --version
[ +16 ms] ios-deploy --version
[ +18 ms] 1.9.2
[ +2 ms] ios-deploy --version
[ +15 ms] ios-deploy --version
[ +19 ms] 1.9.2
[ +2 ms] pod --version
[ +514 ms] pod --version
[ +483 ms] 1.3.1
[ +2 ms] pod --version
[ +479 ms] 1.3.1
[ +1 ms] [✓] iOS toolchain - develop for iOS devices (Xcode 9.2)
[ ] • Xcode at /Applications/Xcode.app/Contents/Developer
[ ] • Xcode 9.2, Build version 9C40b
[ ] • ios-deploy 1.9.2
[ ] • CocoaPods version 1.3.1
[ +1 ms] [✓] Android Studio (version 3.0)
[ ] • Android Studio at /Applications/Android Studio.app/Contents
[ ] • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
[ +2 ms] /usr/bin/defaults read /Users/raveesh/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app/Contents/Info CFBundleShortVersionString
[ +65 ms] Exit code 0 from: /usr/bin/defaults read /Users/raveesh/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app/Contents/Info CFBundleShortVersionString
[ ] 2017.3.4
[ +86 ms] [✓] IntelliJ IDEA Ultimate Edition (version 2017.3.4)
[ ] • Flutter plugin version 21.2.3
[ ] • Dart plugin version 173.4548.30
[ +4 ms] /Users/raveesh/Library/Android/sdk/platform-tools/adb devices -l
[ +17 ms] Exit code 0 from: /Users/raveesh/Library/Android/sdk/platform-tools/adb devices -l
[ ] List of devices attached
[ +5 ms] idevice_id -h
[ +21 ms] /usr/bin/xcrun simctl list --json devices
[ +134 ms] /Users/raveesh/Library/Android/sdk/platform-tools/adb devices -l
[ +19 ms] List of devices attached
[ +1 ms] [-] Connected devices
[ ] • None
[ +17 ms] "flutter doctor" took 2,909ms.
[ +107 ms] ensureAnalyticsSent: 103ms
[ +4 ms] exiting with code 0
For more information about diagnosing and reporting Flutter bugs, please see https://flutter.io/bug-reports/.
This issue was moved by Hixie from flutter/flutter/issues/14592.
@diliondani commented on Mar 4, 2018, 8:19 PM UTC:
+1
@raveesh-me, I see you're using Android Studio 3.0. Closing labels aren't available in that version, but are in Android Studio 3.1. Thanks for the report!
@devoncarew perhaps you know the solution for my 'problem'. I can check 'Show closing label in dart source code' on but next time I have to do it again. How can I save it for good in the preferences?
Thanks for the answer, from Devon or anyone who knows the solution! 👍🏻
@MargrietPB @devoncarew
Did you ever find an answer to why the show closing label checkbox must be rechecked every time you open Android Studio? I have Android Studio version 3.4.1 and it's just annoying to go check this box every time I open the application. For some reason, it will not stay checked. I am just wondering if I should open an issue for this.
Thanks
Hi Jim, No, your reaction is the first one! Thanks anyway. I can understand your feelings. Perhaps this helps: Just at the start of each project, push the short keys. The option you have to check you see immediately and you only have to check it.
Hope that someone from the Android team sees this topic. Hello, helloooo, here we are 'waving'!!!
@MargrietPB
LOL Thanks Margriet,
I will go ahead and start a new thread to specifically address this issue and then I will add you to the conversation. My guess is they are not monitoring this particular issue thread because it has been closed.
@MargrietPB
Here's a link to the issue I created.
https://github.com/flutter/flutter-intellij/issues/3502
Thanks Jim, you're the best! I am new here!
Thanks for reporting, i was getting mad about this one, and why it didn't persisted :) glad to have search before breaking my laptop !
Sorry to disturb, but can't find any shortcut (or make one) in the "keymap" option fort the closing labels. So I have to do it every time ... Thanks's for help !
@widelx i confirm but might you open a new issue for asking to add the shortcut ?
Quite new, may you explain how to do that ? Thanks a lot !
Quite new, may you explain how to do that ? Thanks a lot !
Click the green "new issue" button at top right; it will open a new window to report the problem.
Most helpful comment
@devoncarew perhaps you know the solution for my 'problem'. I can check 'Show closing label in dart source code' on but next time I have to do it again. How can I save it for good in the preferences?
Thanks for the answer, from Devon or anyone who knows the solution! 👍🏻