Skip to content

Commit c3b366f

Browse files
authored
[perf] mark extension points dynamic (#8507)
<img width="1474" height="160" alt="image" src="https://github.com/user-attachments/assets/26d02d31-540c-41dc-ae63-4eb03acbdf31" /> Since we support the usage rules detailed in the [Dynamic Extension Point docs](https://plugins.jetbrains.com/docs/intellij/plugin-extension-points.html?from=PluginXmlDynamicPlugin#dynamic-extension-points), marking this dynamic should allow hot reloading of the plugin. --- - [x] I’ve reviewed the contributor guide and applied the relevant portions to this PR. <details> <summary>Contribution guidelines:</summary><br> - See our [contributor guide]([https://github.com/dart-lang/sdk/blob/main/CONTRIBUTING.md](https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#overview) for general expectations for PRs. - Larger or significant changes should be discussed in an issue before creating a PR. - Dart contributions to our repos should follow the [Dart style guide](https://dart.dev/guides/language/effective-dart) and use `dart format`. - Java and Kotlin contributions should strive to follow Java and Kotlin best practices ([discussion](#8098)). </details>
1 parent aa83bde commit c3b366f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/META-INF/plugin.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,8 @@
260260
</actions>
261261

262262
<extensionPoints>
263-
<extensionPoint name="gradleSyncProvider" interface="io.flutter.android.GradleSyncProvider"/>
264-
<extensionPoint name="colorPickerProvider" interface="io.flutter.editor.ColorPickerProvider"/>
263+
<extensionPoint name="gradleSyncProvider" interface="io.flutter.android.GradleSyncProvider" dynamic="true"/>
264+
<extensionPoint name="colorPickerProvider" interface="io.flutter.editor.ColorPickerProvider" dynamic="true"/>
265265
</extensionPoints>
266266

267267
<extensions defaultExtensionNs="io.flutter">

0 commit comments

Comments
 (0)