<!-- Do not edit this file. It is automatically generated by API Documenter. --> [`Plugin`](Plugin) › [`onUserEnable`](Plugin/onUserEnable) ## Plugin.onUserEnable() method Perform any initial setup code. The user has explicitly interacted with the plugin so its safe to engage with the user. If your plugin registers a custom view, you can open it here. 1.7.2 **Signature:** ```typescript onUserEnable(): void; ``` **Returns:** `void`