Commit 25659e7
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)
- Add changelog entry
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#88451 parent 6572cf2 commit 25659e7
4 files changed
Lines changed: 14 additions & 111 deletions
File tree
- resources/META-INF
- src/io/flutter
- project
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
| 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