Thanks for the sample project!
It seems for some reason NetBeans does not really recognize that as a
project unless you create an empty build.gradle in the root directory.
From that point it seems to work.
On 12/13/21 16:14, Jim Mayer wrote:
Hi all,
I'm still trying to put together a test case for the refactoring issue
I ran into, but here's one for the other problem I saw. This is a link
to a Google Drive folder, where I've uploaded the test case and some
other information.
https://drive.google.com/drive/folders/1sXKairwilsOrTMJcIch9oCw8VQe1sEAx?usp=sharing
If it seems appropriate, I can create a JIRA issues for this, but I
haven't used NetBeans in years, so thought I'd share the problem first.
From the README.txt:
PROBLEM DESCRIPTION
When creating a new class browsing for a superclass does not show
project files.
HOW TO REPEAT
(1) File>New Project...>Java with Gradle>Java Class Library
(2) Create a new class named "Fruit" (see the attached tar file for
what I did).
(3) Browse to the source package containing the new file.
(4) Right click on the package and select New>Java Class
(5) Where the dialogue says "Superclass", click on Browse...
(6) Under type name, write "Fr"
(7) The "Types Found:" on my system shows Frame, FameNode,
FramesDecoder, etc. but do not include "Fruit".
ATTACHED FILES
messages.log
The "messages.log" file from my system.
netbeans-class-browsing-issue.tar.gz
The entire project directory directory.
README.txt
This file.
screenshot-showing-problem.png
A screenshot showing the names I saw after following the above steps.
NETBEANS CONFIGURATION
Product Version: Apache NetBeans IDE 12.6
Java: 17.0.1; OpenJDK 64-Bit Server VM 17.0.1+12-Ubuntu-120.04
Runtime: OpenJDK Runtime Environment 17.0.1+12-Ubuntu-120.04
System: Linux version 5.4.0-91-generic running on amd64; UTF-8; en_CA (nb)
SYSTEM CONFIGURATION
Ubuntu 20.04.3 LTS
% uname -a
Linux chill 5.4.0-91-generic #102-Ubuntu SMP Fri Nov 5 16:31:28 UTC
2021 x86_64 x86_64 x86_64 GNU/Linux
-- Jim
-
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