Re: Netbeans 17 && 12.5

2023-05-26 Thread Geertjan Wielenga
Did you really say this, in an ASF mailing list: “Sort it out.”

Gj

On Sat, 27 May 2023 at 05:43, Tim de Vries  wrote:

> Hi,
>
> So, I'm running both.
>
> Old:
>
> Netbeans 12.5 has a horrible habit of scanning all projects for
> dependencies, I assume in regards to code completion, although I haven't
> found too many examples of where it would work, similar to, for example,
> IntelliJ or a plain Java implementation.
>
> Editor works exceptionally well. There are some either undocumented, or
> well known shortcuts? And some code completion is completely wrong.
>
> New:
>
> Netbeans 17 has a horrible failure in stopping apps. System.exit(code)
> should work as the default for the specified type. If running from a
> static void main(args), it should exit from the main. If running as a
> pkg.sub.Class.launch()? It should be user specified, based on whether
> they have a gui in place from execution or not, if headless, that should
> be an error if not specified. Sort it out.
>
> Also, I understand, I have my project, but Java specifies that there are
> .class'es and .java's. So, we should have the option to display
> .class'es, for those that are interested. IE, people working on
> compilers or creation programs. If desired, we should be able to hide
> those. Also, what purpose is served by containing a separate sub-path
> for the NetBeans Files? Again, if I want that, I think I would be able
> to set that feature. I don't want tim's either, that's why I use it as a
> .jar, not a project.
>
>
> Both:
>
> Bad, bad, non-background scanning for code completion. ==> Think, active
> project. True background scanning. Work.
>
> No display settings. For example, I want to select display of .class
> files. I don't want to show Netbeans Files.
>
> Caching is inconsistent and error prone, particularly in 17. No
> functionality to refresh list and contents of included .jars as in 12.5.
> Note that 12.5 does do that correctly, although both are clunky with the
> + at the top right of the included libraries dialog for the project
> properties -- that should be a button in the list, along with remove, as
> on the right of the ProjectProperties->Libraries tab. It should work, as
> in 12.5, that re-copying the jar into the registered location should
> cause the refresh and reload of the code contained within the jar. This
> ensures it's correctness to the file system.
>
>
> Caveat:
>
> Did not compare .jar output.
>
>
> Hello?:
>
> Unless I'm wrong, then please instruct me on the correct procedures and
> coding style.
> Thank you.
>
>
> Tim
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>


Netbeans 17 and Xdebug

2023-05-26 Thread Dan Nessett
I have no idea what I did, but somehow the debug icon has magically appeared in 
the Netbeans console. So, you can ignore my previous post.

Dan Nessett
-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

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



Netbeans 17 && 12.5

2023-05-26 Thread Tim de Vries

Hi,

So, I'm running both.

Old:

Netbeans 12.5 has a horrible habit of scanning all projects for 
dependencies, I assume in regards to code completion, although I haven't 
found too many examples of where it would work, similar to, for example, 
IntelliJ or a plain Java implementation.


Editor works exceptionally well. There are some either undocumented, or 
well known shortcuts? And some code completion is completely wrong.


New:

Netbeans 17 has a horrible failure in stopping apps. System.exit(code) 
should work as the default for the specified type. If running from a 
static void main(args), it should exit from the main. If running as a 
pkg.sub.Class.launch()? It should be user specified, based on whether 
they have a gui in place from execution or not, if headless, that should 
be an error if not specified. Sort it out.


Also, I understand, I have my project, but Java specifies that there are 
.class'es and .java's. So, we should have the option to display 
.class'es, for those that are interested. IE, people working on 
compilers or creation programs. If desired, we should be able to hide 
those. Also, what purpose is served by containing a separate sub-path 
for the NetBeans Files? Again, if I want that, I think I would be able 
to set that feature. I don't want tim's either, that's why I use it as a 
.jar, not a project.



Both:

Bad, bad, non-background scanning for code completion. ==> Think, active 
project. True background scanning. Work.


No display settings. For example, I want to select display of .class 
files. I don't want to show Netbeans Files.


Caching is inconsistent and error prone, particularly in 17. No 
functionality to refresh list and contents of included .jars as in 12.5. 
Note that 12.5 does do that correctly, although both are clunky with the 
+ at the top right of the included libraries dialog for the project 
properties -- that should be a button in the list, along with remove, as 
on the right of the ProjectProperties->Libraries tab. It should work, as 
in 12.5, that re-copying the jar into the registered location should 
cause the refresh and reload of the code contained within the jar. This 
ensures it's correctness to the file system.



Caveat:

Did not compare .jar output.


Hello?:

Unless I'm wrong, then please instruct me on the correct procedures and 
coding style.

Thank you.


Tim



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

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



Netbeans 17 and Xdebug

2023-05-26 Thread Dan Nessett
I have spent several days attempting to get Netbeans 17 working with Xdebug in 
order to work on some PHP programming. I have not been successful. Here is the 
context: I am using Mac OS Ventura. I have successfully installed netbeans

Product Version: Apache NetBeans IDE 17
Java: 17.0.7; OpenJDK 64-Bit Server VM 17.0.7+7
Runtime: OpenJDK Runtime Environment 17.0.7+7
System: Mac OS X version 13.2.1 running on aarch64; UTF-8; en_US (nb)
User directory: /Users/dnessett/Library/Application Support/NetBeans/17
Cache directory: /Users/dnessett/Library/Caches/NetBeans/17

My Php implementation is:

php -v
PHP 8.0.28 (cli) (built: Apr 26 2023 18:25:29) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.28, Copyright (c) Zend Technologies
with Zend OPcache v8.0.28, Copyright (c), by Zend Technologies
with Xdebug v3.1.5, Copyright (c) 2002-2022, by Derick Rethans

Note that I am using PHP 8.0 with Xdebug 3.1.5. I have configured netbeans to 
use port 9003 for Xdebug, which the port used by Xdebug 3.

When I attempt to work on a PHP project, no debugging controls appear in my 
netbeans console. I can run the application successfully, but not debug it.

I have tried to figure out the problem by reading as much as I could find on 
how to setup netbeans with PHP/Xdebug, but nothing has worked.

Any help would be greatly appreciated.

Regards,

Dan Nessett

RE: Broken link in the comments of netbeans.conf

2023-05-26 Thread Eric Barboni
The "original" page is here

http://web.archive.org/web/20190729145817/http://wiki.netbeans.org/FaqWhatIsUserdir
maybe can be recreated ?

Eric
-Message d'origine-
De : Thomas Kellerer  
Envoyé : vendredi 26 mai 2023 09:26
À : users@netbeans.apache.org
Objet : Re: Broken link in the comments of netbeans.conf

I think it would be nice if there was an "end-user" explanation of what (and 
where) the user dir is.

That page is mainly intended for platform developers, not someone just "using" 
the IDE.

"delete the userdir" is unfortunately still a common way to fix some startup 
problems.

But very often when suggesting that, people ask "what is this userdir thing", 
and it would be nice to have an explanation that is not intended for those 
developing with the platform, but rather those users that "only" use the IDE.

Regards
Thomas
Michael Bien schrieb am 25.05.2023 um 17:33:
> this could potentially link to:
> https://github.com/apache/netbeans/#log-config-and-cache-locations
>
> -mbien
>
> On 25.05.23 17:33, Eric Barboni wrote:
>> Thanks for reporting that.
>>
>> I guess there are a lot more of this old content not migrated to new page.
>>
>> Will try to make a PR out of that.
>>
>> Eric
>>
>> -Message d'origine-
>> De : Thomas Kellerer  Envoyé : mercredi 24 mai 2023 
>> 13:55 À : NetBeans Users  Objet : Broken 
>> link in the comments of netbeans.conf
>>
>> Hello,
>>
>> the netbeans.conf that is bundled with a release contains this explanation:
>>
>> # Default locations of userdir and cachedir:
>> # (http://wiki.netbeans.org/FaqWhatIsUserdir)
>>
>> But that link is no longer working.
>>
>> It would be nice if that could be changed to a working page.
>>
>> Thomas

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

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



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

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



Re: Broken link in the comments of netbeans.conf

2023-05-26 Thread Thomas Kellerer
I think it would be nice if there was an "end-user" explanation of what (and 
where) the user dir is.

That page is mainly intended for platform developers, not someone just "using" 
the IDE.

"delete the userdir" is unfortunately still a common way to fix some startup 
problems.

But very often when suggesting that, people ask "what is this userdir thing", 
and
it would be nice to have an explanation that is not intended for those 
developing
with the platform, but rather those users that "only" use the IDE.

Regards
Thomas
Michael Bien schrieb am 25.05.2023 um 17:33:
> this could potentially link to:
> https://github.com/apache/netbeans/#log-config-and-cache-locations
>
> -mbien
>
> On 25.05.23 17:33, Eric Barboni wrote:
>> Thanks for reporting that.
>>
>> I guess there are a lot more of this old content not migrated to new page.
>>
>> Will try to make a PR out of that.
>>
>> Eric
>>
>> -Message d'origine-
>> De : Thomas Kellerer 
>> Envoyé : mercredi 24 mai 2023 13:55
>> À : NetBeans Users 
>> Objet : Broken link in the comments of netbeans.conf
>>
>> Hello,
>>
>> the netbeans.conf that is bundled with a release contains this explanation:
>>
>> # Default locations of userdir and cachedir:
>> # (http://wiki.netbeans.org/FaqWhatIsUserdir)
>>
>> But that link is no longer working.
>>
>> It would be nice if that could be changed to a working page.
>>
>> Thomas

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

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