codefori / ileditor2-issues

A place where you can search and raise issues for ILEditor 2.
1 stars 0 forks source link

Feature: compile command config embedded in the source #79

Closed richardm90 closed 4 years ago

richardm90 commented 4 years ago

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.

worksofliam commented 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

richardm90 commented 4 years ago

Good thinking on using a different directive but I guess the new directive would be used for compile and live errors.

worksofliam commented 4 years ago

@richardm90

That's exactly right. Perhaps something generic like compile-type or compile-option

worksofliam commented 4 years ago

This is done and will be available in the next release.

We also changed live-error to compile to make it more suiting.

worksofliam commented 4 years ago

Released in 0.6.2.

live-error is now compile, also. Docs have been updated.