[ 
https://issues.apache.org/jira/browse/NETBEANS-4062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arvind reassigned NETBEANS-4062:
--------------------------------

    Assignee: ARUNAVA SINHA

> Unable to import Records from other package
> -------------------------------------------
>
>                 Key: NETBEANS-4062
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-4062
>             Project: NetBeans
>          Issue Type: Bug
>    Affects Versions: 11.3
>            Reporter: Julian Jupiter
>            Assignee: ARUNAVA SINHA
>            Priority: Minor
>              Labels: Java14, records
>
> 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;`.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to