You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by "Admin @ Goodun" <ad...@goodunlimited.co.uk> on 2023/03/06 09:40:44 UTC

Namespace for a php project?

Can I set default namespace(s) for a php project?

A search suggests that it should be on the project properties "sources"
page, but it isn't (NB 17).  Has it been moved?  I haven't been able to
find it.

Has it been removed?  If so, why.  And if so, why is there still a, now
redundant, dropdown for it in the new php class dialogue?

TIA
Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: Namespace for a php project?

Posted by "Admin @ Goodun" <ad...@goodunlimited.co.uk>.
Unfortunately this seems to be a "session" solution.  Closing NB then
re-opening it loses the namespace.

Why was this removed from the project property dialogue?


On Mon, 2023-03-06 at 12:03 +0000, Admin @ Goodun wrote:
> Now, having once manually entered a namespace in a new file creation
> dialogue it's always presenting one there, correctly altered.
> 
> That seems to be the solution.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: Namespace for a php project?

Posted by "Admin @ Goodun" <ad...@goodunlimited.co.uk>.
OOooooo, that's where all that text comes from!  Something new every
day, eh?

While I think that would work, that's a hard coded solution.  The
existing template(s) seem to be picking up a variable that holds a list
of namespaces, or is it just a string?  

Now, having once manually entered a namespace in a new file creation
dialogue it's always presenting one there, correctly altered.

That seems to be the solution.

On Mon, 2023-03-06 at 11:09 +0100, John Lavelle wrote:
> Create a Template (Tools>Templates) and put it in there.
> 
> Best regards,
> John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: Namespace for a php project?

Posted by John Lavelle <jo...@jql.co.uk>.
Create a Template (Tools>Templates) and put it in there.

Best regards,
John

On Mon, Mar 6, 2023 at 10:40 AM Admin @ Goodun <ad...@goodunlimited.co.uk>
wrote:

> Can I set default namespace(s) for a php project?
>
> A search suggests that it should be on the project properties "sources"
> page, but it isn't (NB 17).  Has it been moved?  I haven't been able to
> find it.
>
> Has it been removed?  If so, why.  And if so, why is there still a, now
> redundant, dropdown for it in the new php class dialogue?
>
> TIA
> Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>