This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Paste the following code: def f(): return Now placing the cursor at the start of the return line and pressing enter, results in this code: def f(): return instead of: def f(): return Reparting the same with another kind of instructions, seems to work: def f(): a = 10 produces: def f(): a = 10 Product Version: NetBeans IDE 6.7 (Build 200906251104) Java: 1.6.0_16; Java HotSpot(TM) Client VM 14.2-b01 System: Windows 7 version 6.1 running on x86; Cp1252; it_IT (nb) Userdir: C:\Users\Cesare\.netbeans\6.7
This looks fixed. Closing this. Please reopen if needed.
Thanks for your evaluation Julien. Reporter, if you think your issue is still valid and needs to be addressed, don't hesitate to reopen it with additional information. Closing for now.