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

Compiler Options not split as individual arguments #76

Closed xraxra closed 1 week ago

xraxra commented 1 week ago

If I add the Compiler options to the build target: -strict-style -vet -no-bounds-check -o:speed -subsystem:windows

the build fails to run with:

D:/dev/Odin/odin.exe run D:/dev/testing "-strict-style -vet -no-bounds-check -o:speed" -out:D:/dev/testing/bin/testing.exe Unknown flag: 'strict-style -vet -no-bounds-check -o'

I'd expect the string to be split by the spaces, it looks like in OdinSdkUtils.java the whole string is added as addCommandPart

obiwan87 commented 1 week ago

Fixed. Going to deploy today. The new release will be available within 2 business days on the marketplace or you can download it here on github

obiwan87 commented 1 week ago

There you go: https://github.com/obiwan87/odin-intellij/releases/tag/v0.7.2

Download the zip and add choose "Install Plugin from Disk" from the action menu in your IDE.

image