[flutter_tool] Flip create language defaults to swift and kotlin#38339
[flutter_tool] Flip create language defaults to swift and kotlin#38339zanderso merged 1 commit intoflutter:masterfrom zanderso:flutter-create-flip
Conversation
Codecov Report
@@ Coverage Diff @@
## master #38339 +/- ##
==========================================
- Coverage 56.12% 55.74% -0.39%
==========================================
Files 194 194
Lines 18181 18180 -1
==========================================
- Hits 10204 10134 -70
- Misses 7977 8046 +69
Continue to review full report at Codecov.
|
jonahwilliams
left a comment
There was a problem hiding this comment.
LGTM
cc @devoncarew , I think the IDEs might also expose some flutter create configuration as well? I did see them in vscode too
|
Thanks, we do expose the options graphically. We'll need to flip our defaults as well; cc @stevemessick. |
|
Why did this increase basic_material_app_win__compile? cc @timsneath |
|
So, this change in the defaults did not occasion a change to the AndroidStudio UI; you can check off the kotlin box or not, the same thing happens: Kotlin platform code. Aside: I was one of the early Kotlin advocates at G, but have not seen opportunities for capitalizing on its features while writing basic API calls; I think the Android team may have different requirements than flutter plugin developers, but all that is besides the point... I would imagine someone would have had to eat this dogfood and try to set up a Java/ObjC plugin; what was their process so that I can repeat it? I'll go try to throw things at the CLI now... |
@AndruByrne, what version of the Flutter IntelliJ plugin are you using? Can you open an issue for this at https://github.com/flutter/flutter-intellij/issues? Thanks! |
|
@devoncarew Android Studio 3.5.1; did all the updates, closed the studio, rebooted the computer, made new Flutter Plugin and... wilco |
Description
This PR changes the default languages for the
createcommand. Previous behavior can be recovered by explicitly passing the--ios-languageand--android-languageflags.Related Issues
#21190
Tests
Adjusted tests in
commands/create_test.dart.Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?