How do I create a Jetbrain plugin?

How do I create a Jetbrain plugin?

The IntelliJ Platform Plugin project type should be selected. Select the Next button. Choose a suitable project name. To create project structure files, click Finish. If necessary, go to File | Project Structure to change project parameters.