Description
NetBeans can't import records from other package. It instead suggests to create a class.
It has to be imported manually. Even importing manually does not work smoothly coz after hitting dot, records do not show up but other classes do. There is no choice but to type it in explicitly.
Steps to reproduce:
- Create a record in a package, e.g. `records.Person.java`.
- Create main class in another package, e.g. `app.PersonApp.java`.
- In `PersonApp`, type in `var person = new Person(....);`. Using content assist/auto-suggestion does not display Person.
- Manually type: `import records.` and using content assist does not display Person. Other classes, if any, do display, though. So, instead of relying on suggestion, just type it explicitly: `import records.Person;`.