You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Arunava Sinha (Jira)" <ji...@apache.org> on 2020/08/24 10:58:00 UTC

[jira] [Assigned] (NETBEANS-4062) Unable to import Records from other package

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

Arunava Sinha reassigned NETBEANS-4062:
---------------------------------------

    Assignee: Akhilesh Singh  (was: 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: Akhilesh Singh
>            Priority: Minor
>              Labels: Java14, records
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> 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-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

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