Re: Sorting imports during "Fix Imports"?

2023-08-01 Thread Thomas Kellerer
Hi Michael, indeed you are right. I think at some point I disabled the "Organize imports" when saving a file which probably let me to assume that "fixing imports" would also sort them. Sorry for the noise. Thomas Michael Bien schrieb am 01.08.2023 um 18:04: > Hi Thomas, > > there are two

Re: Sorting imports during "Fix Imports"?

2023-08-01 Thread Michael Bien
Hi Thomas, there are two actions: fix imports and organize imports I think fix imports will only try to make it compile, while organize imports is doing the sorting/formatting you are asking for. Regarding inserting new imports at the right place: I don't know tbh, could be potentially a

Re: NB18 garbles Javadoc

2023-08-01 Thread Neil C Smith
On Tue, 1 Aug 2023 at 10:08, Chris Powell wrote: > ... screenshots ... > Same in version 18. So I guess it's still in the latest versions too. Thanks for those Chris! I was able to reproduce, and hopefully found a fix at https://github.com/apache/netbeans/pull/6282 I've added the ci:dev-build

Re: NB18 garbles Javadoc

2023-08-01 Thread Giles Winstanley
Yes, frequently noticed this issue as well, although can't remember back to know a starting version. It doesn't seem restricted to dash-containing Javadoc, (I've definitely encounted it in doc without). My experiences tend to have been with multiline comments and/or methods with

Re: NB18 garbles Javadoc

2023-08-01 Thread Chris Powell
Screenshots in 12.5: Before: [image: TestGarbleInShot.png] Insert parameter, click on add @param s and: [image: TestGarbleOutShot.png] Same in version 18. So I guess it's still in the latest versions too. Many regards Chris Powell On Tue, Aug 1, 2023 at 8:45 AM Neil C Smith wrote: > On

Re: NB18 garbles Javadoc

2023-08-01 Thread Neil C Smith
On Mon, 31 Jul 2023 at 23:48, Greenberg, Gary wrote: > Have anybody noticed such behavior? Has a bug report been filed? > Unfortunately, I can’t file report myself, as access to external repositories > forbidden by company policy. Never noticed this personally. And can't remember noticing a

Sorting imports during "Fix Imports"?

2023-08-01 Thread Thomas Kellerer
I have noticed that "Fix Imports" does not sort the imports. I _think_ NetBeans did sort the imports at some point. But now it's always appended at the end - or somewhere near the end. E.g. I have existing imports like this: import javax.portlet.Portlet; import

Re: NB18 garbles Javadoc

2023-08-01 Thread Chris Powell
I noticed this garbling starting in 12.5! I work around it now by copying the original commentary, allowing NB to garble, then paste the commentary back. Chris Powell CTO discovery.eu On Mon, Jul 31, 2023 at 10:48 PM Greenberg, Gary wrote: > I had to make some changes to the code that