My experience with license headers are:

   - Open Source - I need license headers
   - Commercial - I haven't used license headers (project for banks,
   financial companies etc.)
   - Teaching - I don't want to use license headers it is annoying
   - Studying - It is annoying
   - Presentation - I don't want it

It means that only my one from five usecases uses license headers and in
other usecases I don't need it or I don't want it. This is the reason why I
think that the checkbox with enabling/disabling in a project configuration
license headers is good solution. It can be enabled by default if you want
to show a comment about the license headers. But I think that we need an
easy solution how to hide these license headers and editing templates is
not easy solution from my point of view.

I edited my netbeans templates with the license headers and remove it from
there in tha past. Is somewhere some tutorial how to easy hides these
headers? Maybe it can be hidden if license file is empty.

Tomas


On Tue, Jun 2, 2020 at 2:27 AM Jesse Glick <typr...@gmail.com> wrote:

> On Mon, Jun 1, 2020 at 2:09 AM Tomas Poledny <salja...@gmail.com> wrote:
> > My proposal is to create a checkbox in settings (and per project too)
> with
> > enabling license headers.
>
> FYI, if you use Maven, NetBeans does the right thing automatically:
> looks for the license declaration in your POM, and picks a license
> header for new files accordingly. Perhaps this needs to be extended to
> other project types, advertised better, etc.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: dev-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>

Reply via email to