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 268890 - Please add postfix completion
Summary: Please add postfix completion
Status: CLOSED INVALID
Alias: None
Product: cnd
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.1
Hardware: PC Other
: P3 normal with 1 vote (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-08 09:57 UTC by Christian Lenz
Modified: 2018-02-15 17:01 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Lenz 2016-11-08 09:57:05 UTC
It would be great to have postfix completion in the C/C++ editor. If you write foo.if->tab it should expand to:

if(foo) {

}


See this link for more information about such feature:
https://plugins.jetbrains.com/plugin/7342?pr=dbe&showAllUpdates=true


Regards

Chris
Comment 1 Vladimir Kvashin 2016-11-08 14:12:32 UTC
Chris,
the idea is good. 

I'm only concerned that we should do this the same way other NetBeans languages do. Or, if we are the first, then we can do it as we think appropriate and then let other follow us. Does Java or other NetBeans languages provide postfix completion?
Comment 2 Christian Lenz 2016-11-08 14:22:23 UTC
The problem is that no netbeans languages do this but a community member and me created tickets for JavaSscript (https://netbeans.org/bugzilla/show_bug.cgi?id=268888), Java (https://netbeans.org/bugzilla/show_bug.cgi?id=268886) and C/C++ (https://netbeans.org/bugzilla/show_bug.cgi?id=268890) as well.
Comment 3 Christian Lenz 2016-11-08 14:24:11 UTC
@Vladimir this is exactly what I think. My dream is, that if there is a feature for one language and this feature could be very good for other languages do like JS, C/C++ and Java, then the main developer should contact the others for example or we should create tickets to implement such generic behaviour if it's possible.
Comment 4 Vladimir Kvashin 2016-11-08 15:39:41 UTC
Chris, thank you for the links.
Comment 5 philipmark 2016-11-15 03:27:43 UTC
Much like Code Templates, I hope I can add my own post fix completion.
Comment 6 Christian Lenz 2018-02-15 17:01:04 UTC
I will close it, because it will handled now at the JIRA board: https://issues.apache.org/jira/browse/NETBEANS-394. Please discuss it there for further information.