[ 
https://issues.apache.org/jira/browse/NETBEANS-4804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17197684#comment-17197684
 ] 

Akhilesh Singh commented on NETBEANS-4804:
------------------------------------------

I tried the option "Insert Code -> Getter" for a simple code snippet 
_{color:#de350b}public record EmpRecord(int i) {}{color}_ {color:#172b4d}. IDE 
is generated the getter method for the variable 'i' as expected. PFA 
screenshots of steps. {color}

Is there any specific scenario or different steps that i missed?  

!record1.png!

Tested Env:

Java: 1.8.0_231; Java HotSpot(TM) 64-Bit Server VM 25.231-b11
Runtime: Java(TM) SE Runtime Environment 1.8.0_231-b1
System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)

Java: 14-ea; OpenJDK 64-Bit Server VM 14-ea+27-1339
Runtime: OpenJDK Runtime Environment 14-ea+27-1339
System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)

> "Insert Code" is enabled but does not work for Record
> -----------------------------------------------------
>
>                 Key: NETBEANS-4804
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-4804
>             Project: NetBeans
>          Issue Type: Bug
>            Reporter: Geertjan Wielenga
>            Assignee: Akhilesh Singh
>            Priority: Major
>         Attachments: record1.png, record2.png, record3.png, record4.png
>
>




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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to