Closed richardm90 closed 4 years ago
An awesome idea! Can absolutely do that. If we did this, we may change the tag from live-errors
to something more universal completely.
Thanks @richardm90!
Liam
Good thinking on using a different directive but I guess the new directive would be used for compile and live errors.
@richardm90
That's exactly right. Perhaps something generic like compile-type
or compile-option
This is done and will be available in the next release.
We also changed live-error
to compile
to make it more suiting.
Released in 0.6.2.
live-error
is now compile
, also. Docs have been updated.
In order to make live-errors work you need to embed live-errors (or is it live-error) as a comment in your source file.
Would it be possible to set the compile option for the source in the same/similar way?
Then when I press Ctrl-E to compile it uses the compile command I have defined in the source file. If there's no compile command embedded in the source file then it prompts you.