How to use SDKs for non-IDEA IDEs

Hello,


In my quest to add support for non-IDEA IDEs to the golang plugin (PR here:https://github.com/mtoader/google-go-lang-idea-plugin/pull/303) I've hit the following issue:
- while running the plugin + PHPStorm from IDEA the Go SDK is available in the project itself if it was previously configured by IDEA
- if I run only PHPStorm then the SDK isn't visible anymore

I've checked the list here http://confluence.jetbrains.com/display/IDEADEV/Plugin+Compatibility+with+IntelliJ+Platform+Products and it doesn't seem I'm using anything that's Java specific. In this case, how should I make the SDK editing dialog appear? And how should it be saved to the project so that it's visible under the External libraries option?

Please see attached for reference

Thanks.



Attachment(s):
standalone.png
from IDEA.png
1 comment
Comment actions Permalink

The SDK editing dialog does not exist in IDEs other than IntelliJ IDEA; all of them use custom, product-specific UI for configuring interpreters. You need to provide your own UI for specifying the Go SDK location and code to add it to the external libraries. (The model is still there; it's just the UI that is different.)

0

Please sign in to leave a comment.