Commit 33df2ef
Fix IntelliJ IDEA project open silent failure by removing FlutterProjectOpenProcessor
FlutterProjectOpenProcessor silently failed to open Flutter projects
without a .idea directory because getDelegateImportProvider() returned
null when no other processor could claim the project. Since this
processor was registered with order="first", no fallback occurred.
Apply the same fix pattern as PR flutter#8710 (Android Studio):
- Remove FlutterProjectOpenProcessor.kt
- Remove its <projectOpenProcessor> registration from plugin.xml
- Add module-type-fixing logic to FlutterInitializer (startup activity)
This lets the platform's default project opener handle opening, then
FlutterInitializer configures Flutter module type and Dart SDK after
the project is loaded.
Fixes flutter#8845
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 24d11f2 commit 33df2ef
3 files changed
Lines changed: 12 additions & 111 deletions
File tree
- resources/META-INF
- src/io/flutter
- project
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
338 | | - | |
339 | | - | |
340 | 338 | | |
341 | 339 | | |
342 | 340 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | | - | |
72 | 70 | | |
73 | 71 | | |
74 | 72 | | |
| |||
97 | 95 | | |
98 | 96 | | |
99 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
100 | 110 | | |
101 | 111 | | |
102 | 112 | | |
| |||
This file was deleted.
0 commit comments