Menu

#59 Ignore entire .inc files

open
nobody
None
5
2018-12-31
2018-12-31
No

It would be good if you could ignore an entire .inc file, e.g. by placing the @exclude tag next to the {$I filename.inc} directive, or perhaps a new file-specific tag like @excludefile placed at the top of a file.

Discussion

  • Michalis Kamburelis

    I would prefer to fix it with @excludeBegin and @excludeEnd options, already planned. They cover more use-cases, and also would satisfy this one. You would be able to write e.g.

    { @excludeBegin }
    {$I myinclude.inc}
    { @excludeEnd }
    

    to have everything inside your include file ignored. You could also place the @excludeBegin/End inside the myinclude.inc file.

     
  • Colin Haywood

    Colin Haywood - 2018-12-31

    That would be an awesome feature, thanks.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.