Search code examples
intellij-ideaintellij-plugin

Intellij plugin development "the selected directory is not a valid home for intellij platform plugin sdk"


I'm following these guidelines on how to develop Intellij plugin.

So I

  1. Open project settings.
  2. Project SDK --> New
  3. Choose the community edition path I just downloaded

Expected the directory is selected fine.

Actual: I get the error message:

"the selected directory is not a valid home for intellij platform plugin sdk"

See screenshot: enter image description here

Am I doing something wrong?

Thanks


Solution

  • Intellij platform plugin sdk home should be your installed or builded IntelliJ, not sources. You can add that intellij-community folder as sources to your IntelliJ SDK later or not at all.