Re: How to remove unused imports on file save?

2025-01-24 Thread Fred Welland
I don't know about automatic file save. that said -- I don't use this --but there is 'Tools->Options->Editor->On Save. Visit that tab there is a check box called Organize Imports. Maybe that does it? (mine is off; never used this) HTH On Fri, Jan 24, 2025 at 9:02 AM Bradley Willcot

Re: How to remove unused imports on file save?

2025-01-24 Thread Fred Welland
my nb 24 -- puts a icon (warning ! ) on the left margin of the edit buffer of a java file containing un-needed imports. Right click and the pop-up menu has 'remove' or 'remove all un-used'. This is, file by file. One may have to enable this, if not default. Maybe checkout Tools->Options->E

Netbeans 22 & gradle: anyway to use Gradle's source/target compatibility?

2024-06-07 Thread Fred Welland
Is there any way to have NB use source/target compatibility declared in build.gradle to select a 'matching' (already configured in NB) java platform (w/o ? So as to avoid having NB hammer in netbeans.hint.jdkPlatform= into gradle.properties (which , for us, is under SCCS). (Seems silly or

NB 21, GIT & Linux: duplicate password entries in keyring?

2024-05-02 Thread Fred Welland
Long time NB user on linux. Notice recently that in my linux keyring, had duplicate entries created for NB/GIT credentials, when I do authenticated GIT activities from Netbeans 21. Yes, I use the 'save password' feature on NB/GIT operations. The entries seem identical, except: one entry has n

Re: NetBeans release notes?

2022-12-07 Thread Fred Welland
an interesting surprise I don't know if this is the official release notes, but this has some info on it: https://github.com/apache/netbeans/releases/tag/16 On Wed, Dec 7, 2022 at 3:00 PM Thad Humphries wrote: > I see that NetBeans 16 is out. I only started using NetBeans a few weeks >

Project->Run Gradle->Tasks dialog 'missing'?

2021-10-15 Thread Fred Welland
Hi, Been running NB 12.5Final (OpenJDK 16.0.1, Linux/Fedora) mostly works quite well. I use gradle almost 100% of the time. I used to have the ability to create a 'task' via RtClick on a project node and then select "Run Gradle" and then "Tasks..."That would popup a dialog and I can tinker

Re: Avoid cluttering gradle.properties

2021-06-02 Thread Fred Welland
I agree with this! On Wed, Jun 2, 2021 at 7:26 AM Thomas Kellerer wrote: > I am using NetBeans 12.4 with several gradle projects that use SpringBoot. > > When I configure the "Build Actions" in the NetBeans Properties to e.g. > include "--args='--spring.profiles.active=my_profile'" then NetBeans

Re: Gradle - displaying dependency graph like Maven

2021-05-03 Thread Fred Welland
Outside of netbeans, and just in gradle-space, there are a few plugins that assist with dep visualizaiton. There is also gradle build scans, which provide lots of good information about a build, including data on deps. On Mon, May 3, 2021 at 10:29 AM Laszlo Kishalmi wrote: > That's the best t

Gradle 7 support?

2021-04-13 Thread Fred Welland
*Product Version:* Apache NetBeans IDE 12.3 *Java:* 14.0.2; OpenJDK 64-Bit Server VM 14.0.2+12 *Runtime:* OpenJDK Runtime Environment 14.0.2+12 *System:* Linux version 5.8.18-100.fc31.x86_64 running on amd64; UTF-8; en_US (nb) I am getting the following warning from NB: Reason: groovy.lang.M

Re: Thanks for v12.3

2021-03-12 Thread Fred Welland
I switched over Yesterday too. So far, pretty good. Few or little differences than 12.2. Very heavy gradle user, also my NB runs under Open JDK 14 under Fedora 31; gradle projects are generally run with JDK8 or JDK 11. Thanks for all the hard work. On Thu, Mar 11, 2021 at 9:59 PM Malcolm Fi

Re: How to turn off formal parameter hints in Netbeans 12.2 editor?

2021-03-02 Thread Fred Welland
OMG! Nailed it. Totally not where I was lookingsigh... Thanks!!! On Tue, Mar 2, 2021 at 10:47 AM Geertjan Wielenga < geertjan.wiele...@googlemail.com> wrote: > View | Show Inline Hint > > Gj > > On Tue, Mar 2, 2021 at 4:39 PM Fred Welland > wrote: > >&g

How to turn off formal parameter hints in Netbeans 12.2 editor?

2021-03-02 Thread Fred Welland
I did something or installed a plugin and now in my editor windows (for .java file) display hints for method calls that show the formal parameter names in smaller font, to the left of the actual parameter. I'd like to turn this off. I've rifled through various menus and settings to enable/disabl

Re: [POLL] Gradle Task Navigator with Favorite Task UI

2020-12-15 Thread Fred Welland
I prefer the 2nd one! (Thanks for the great work!) On Mon, Dec 14, 2020 at 11:30 PM Laszlo Kishalmi wrote: > Well, I've created two UI implementation of displaying Favorite Task in > Gradle Navigator. > > The implementations: > > > https://issues.apache.org/jira/secure/attachment/13017035/Gradl

Files tab not display gradle sub-project root folders

2020-10-20 Thread Fred Welland
(NB and JDK versions data below) I have a gradle multi-subproject build. Two of the subs do not apply normal java-like plugins: one only does 'ear' the only applies 'base'. Normally, or in the past, I would be able to navigate and interact with files from these types of projects using Files

Re: nightlies?

2020-10-01 Thread Fred Welland
When I pulled; unzipped there were 2 exes in ../bin directory; along with the linux sh/bootstrapper... ...I presume they work... On Thu, Oct 1, 2020 at 3:37 PM Christoph Theis wrote: > Half offtopic: where would I find the nightly artifacts for Windows, if > they exist? > > > Christoph > > --

Re: nightlies?

2020-10-01 Thread Fred Welland
eans-dev > > Get a new dev build automatically every Thursday > > There are more Gradle fixes on the way, I hope 12.2 will be able to load > and parse the full JavaFX source code. > > On 10/1/20 4:50 AM, Fred Welland wrote: > > Hi Ya, > > > > 12.1 working OK

nightlies?

2020-10-01 Thread Fred Welland
Hi Ya, 12.1 working OK for me...sigh well was. I am HUGE Gradle user & Lombok too!Saw 'noise' on this list about something busted related to gradle and lombok and then encountered it yesterday. Also thought I saw a note about it being addressed already in a nightly. So, for example, is

Re: GRADLE: 'Web Pages' project node gone in NB 12.1?

2020-09-25 Thread Fred Welland
ered a root folder for > the JSP. > > That is fixed in the development builds. > > As of the gererated sources. Unfortunately Gradle generates their folder > regardless if it is being used or not. I have not find the time to hide > them when they are empty. Probably in 12.2 ... >

Re: GRADLE: 'Web Pages' project node gone in NB 12.1?

2020-09-24 Thread Fred Welland
question. I'm afraid I have to debug what's happened with > the Web Pages node. > > On 9/24/20 11:09 AM, Fred Welland wrote: > > Kicking tires on NB12.1, I have a simple gradle build that applies > > 'war' plugin. > > > > In NB 12.0; this pr

GRADLE: 'Web Pages' project node gone in NB 12.1?

2020-09-24 Thread Fred Welland
Kicking tires on NB12.1, I have a simple gradle build that applies 'war' plugin. In NB 12.0; this pretty much works and has a nice 'Web Pages' node in the project window: it lets me navigate src/main/webapp/. Load the same project in NB 12.1 and that node is gone. Is there a way to make it come

Re: NetBeans 12 Distribution URL Certificate

2020-06-23 Thread Fred Welland
any http proxies. Interesting > point about the JDK version you use with NB 12. Does NB 12 support JDK 8? I > looked around but don’t see any information on that. Am I missing something > obvious? > > > > Thanks > > > > *From:* Fred Welland > *Sent:* Tuesday, June 2

Re: NetBeans 12 Distribution URL Certificate

2020-06-23 Thread Fred Welland
Are you behind a DLP http proxy?I am and the DLP I am behind messes with HTTPS traffic and certs. I've had to import a trusted cert at system level (also Fedora 31, but running selinux and firewalld). A few java programs I've run had this problem; just had this with JMeter a week or so ago.

Re: NB 11.3 + Gradle 6x + integrationTest and Test File (ctlr-f6)

2020-05-01 Thread Fred Welland
ately 12.0 is almost ready so most probably this can be released > in August or some daily builds. > > > On 4/30/20 11:54 AM, Fred Welland wrote: > > The older G4NB plugin had smarts or something such that it looked at > > pathing of where a test file was and adjusted the gr

NB 11.3 + Gradle 6x + integrationTest and Test File (ctlr-f6)

2020-04-30 Thread Fred Welland
The older G4NB plugin had smarts or something such that it looked at pathing of where a test file was and adjusted the gradle invocation accordingly. So for example, a Spock spec in: src/test/groovy/com/blah/blah/SomeSpec.groovy would invoke gradle a bit like like: ./gradlew tests --tests com

Re: Gradle based project won't load. How to investigate it or see compiler output?

2020-04-29 Thread Fred Welland
Not sure if this will helpI did point this out to this list a while back -- it didn't get traction. Comment applies to 11.3 - probably covers 12 too. It seems 11.3 using Gradle 6x tooling api for stuff including build file parsing/ingest. My inventory of gradle projects in 20+; some are old

Netbeans 11.3 and older gradle builds

2020-03-05 Thread Fred Welland
So +1 for NB 11.3. This is the first NB using native gradle support where I think I can use this as a daily driver for much of my work (prior 11.3 the only working combo for me was NB10 + gradle plugin). That said, I work on lots of gradle projects with gradles as old as 3.4.x to as new as 6.2.

[gradle/spock] Netbeans 11.2 run test greyed out

2019-12-19 Thread Fred Welland
Expect: right click in source window on a groovy/spock spec file to support "Test File" as well and ctrl-f6 to work Result: right click option is greyed out -- and nothing happened when one uses ctrl-f6 Is this just a bug or is there some tweak or setting I can flip to get this to work? FWIW

Netbeans 11.1 + Gradle + Spock Unit Tests

2019-07-29 Thread Fred Welland
Just started using NB 11.1 (OpenJDK 1.8 202). I am using the built in gradle project support on a project with some Spock unit specs. NB 11.1 loads the specs ok into editor window.Right clicking in the editor window brings up the context menu. There are some test related actions that cou