obiwan87 / odin-intellij

Odin Support plugin for JetBrains IDEs
https://plugins.jetbrains.com/plugin/22933-odin-support
MIT License
37 stars 3 forks source link

Show any kind of error when the Path to SDK is incorrectly set #63

Closed Dima-369 closed 2 weeks ago

Dima-369 commented 2 months ago

I accidentally pasted in a wrong path there, and then wondered why 'Goto declaration' and 'odin check' wasn't working anymore, until I realized the messed up path.

How about showing an error notification like 'Odin SDK path seems incorrect'? Maybe trigger it when the binary to odin isn't found or the core or base folders?

obiwan87 commented 2 weeks ago

The SDK Path field is now validated in the project settings. Additionally, when the path is set correcltly, the odin version displayed under the SDK Path field