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 247840 - add "fore" to C/C++ templates
Summary: add "fore" to C/C++ templates
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-09 17:29 UTC by Vladimir Kvashin
Modified: 2014-10-15 03:07 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 Vladimir Kvashin 2014-10-09 17:29:43 UTC
In C++11 it's possible to iterate through a collection via construct like
for (MyClass x : myCollection) {
  //...
}
So it's worth adding such template to default editor tempates (as in java, abreviation should be "fore")
Comment 1 Alexander Simon 2014-10-14 11:36:47 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/d8be6772383b
Comment 2 Quality Engineering 2014-10-15 03:07:49 UTC
Integrated into 'main-silver', will be available in build *201410150001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/d8be6772383b
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #247840 add "fore" to C/C++ templates