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.

Bug 268886

Summary: Postfix Code Completion
Product: java Reporter: philipmark
Component: RefactoringAssignee: Svata Dedic <sdedic>
Status: CLOSED INVALID    
Severity: normal CC: chrizzly
Priority: P3    
Version: Dev   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description philipmark 2016-11-08 09:17:22 UTC
Example if code: customer.notnull it should autocomplete the code with:
if (customer != null) {

}

It's a really simple thing but helps a lot.
Comment 1 Christian Lenz 2016-11-08 09:47:07 UTC
Or for example: foo.if->tab should expand to

if(foo) {

}
Comment 2 Christian Lenz 2016-11-08 09:48:46 UTC
Ad here you can see some shorties for this in intelliJ: https://plugins.jetbrains.com/plugin/7342?pr=idea
Comment 3 Christian Lenz 2016-11-08 09:53:35 UTC
Created ticket for JS: https://netbeans.org/bugzilla/show_bug.cgi?id=268888 and for PHP: https://netbeans.org/bugzilla/show_bug.cgi?id=268889
Comment 4 Christian Lenz 2016-11-08 09:57:20 UTC
And for cnd (C/C++): https://netbeans.org/bugzilla/show_bug.cgi?id=268890
Comment 5 Christian Lenz 2018-02-15 16:56:41 UTC
I will close it, because it will handled now at the JIRA board: https://issues.apache.org/jira/browse/NETBEANS-391. Please discuss it there for further information.