o
odinpkg.dev
packages / library / Odin.novaextension

Odin.novaextension

49c44belibrary

Odin syntax highlighting in Nova

No license · updated 1 month ago

Odin for Nova

An extension for the Nova code editor providing syntax highlighting support and issue reporting for the Odin programming language.

Installation

The easiest way to install this extension is to simply use Nova's built-in Extension Library feature. From the Extensions menu, select "Extension Library…" then search for "Odin" in the resulting window and install this extension.

Due to how Odin's syntax checking works, it will only check syntax when a file is saved.

The "odin" binary will need to be in your path in order for this extension to function currently (you should be able to open a Terminal window and activate the Odin binary by simply typing "odin"). The ability to specify a path to the Odin binary may be made available in a future update. Currently, this extension does not currently have any settings.

Known issues

  • Incorrect issues are given for import statements that use collections. We can probably fix this by looking for and parsing an ols.json file in the project and using that to tell the Odin binary about collections.

Todo

  • Implement OLS support for even more Odin goodies in Nova.

Acknowledgements