Re: Java Platform Javadoc

2022-07-11 Thread Neil C Smith
On Mon, 11 Jul 2022 at 11:01, Neil C Smith  wrote:
> On Mon, 11 Jul 2022 at 10:20, Michael Bien  wrote:
> > On 11.07.22 06:56, Bradley Willcott wrote:
> > > For JDK 18 for instance, using the root address:
> > > https://docs.oracle.com/en/java/javase/18/docs/api/ does not work
> > > because of the modularity introduced some versions ago.
> > >
> > > Why has this not been fixed within NB?
> >
> > there is probably no conspiracy going on, its likely that just nobody
> > found that issue interesting enough to create a PR for it:
>
> Well, I keep trying to tell myself this is interesting enough to work
> on each time it catches me out, but ... :-)

OK, as I had nothing else to do today (this is a lie! :-) ), I thought
I'd take a look at this.

I think I tracked it down to JavadocHelper -
https://github.com/apache/netbeans/pull/4363

Best wishes,

Neil

-
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: Java Platform Javadoc

2022-07-11 Thread Neil C Smith
On Mon, 11 Jul 2022 at 10:20, Michael Bien  wrote:
> On 11.07.22 06:56, Bradley Willcott wrote:
> > For JDK 18 for instance, using the root address:
> > https://docs.oracle.com/en/java/javase/18/docs/api/ does not work
> > because of the modularity introduced some versions ago.
> >
> > Why has this not been fixed within NB?
>
> there is probably no conspiracy going on, its likely that just nobody
> found that issue interesting enough to create a PR for it:

Well, I keep trying to tell myself this is interesting enough to work
on each time it catches me out, but ... :-)

One partial workaround is to change the Javadoc root address in the
Tools / Java Platforms dialog to

https://docs.oracle.com/en/java/javase/18/docs/api/java.base/

Obviously this only works for things in java.base.

Also, as long as sources are set for the platform, docs are visible in
code completion, etc.

Best wishes,

Neil

-
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: Java Platform Javadoc

2022-07-11 Thread Michael Bien

Hi,

On 11.07.22 06:56, Bradley Willcott wrote:

Hi there.
I am sure someone has asked this before, but I haven't found such as yet.

How do I set-up NB 14 to access the online Javadocs for each JDK?
I have every version since 1.5 installed. Whilst the older ones work 
fine, the newer ones don't.
For JDK 18 for instance, using the root address: 
https://docs.oracle.com/en/java/javase/18/docs/api/ does not work 
because of the modularity introduced some versions ago.


Why has this not been fixed within NB?


there is probably no conspiracy going on, its likely that just nobody 
found that issue interesting enough to create a PR for it:


https://github.com/apache/netbeans/pulls



Where is the Java Platform info stored within NB's config?


.netbeans/14/config/Services/Platforms/org-netbeans-api-java-Platform




I have put up with this situation for too long now, so I need to fix 
it. Can anyone help please?


contributions are always welcome.


best regards,

michael


-
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



Java Platform Javadoc

2022-07-10 Thread Bradley Willcott

Hi there.
I am sure someone has asked this before, but I haven't found such as yet.

How do I set-up NB 14 to access the online Javadocs for each JDK?
I have every version since 1.5 installed. Whilst the older ones work 
fine, the newer ones don't.
For JDK 18 for instance, using the root address: 
https://docs.oracle.com/en/java/javase/18/docs/api/ does not work 
because of the modularity introduced some versions ago.


Why has this not been fixed within NB?

Where is the Java Platform info stored within NB's config?

I have put up with this situation for too long now, so I need to fix it. 
Can anyone help please?


Thank you,
Brad.


-
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