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 270638 - code template: cursor position is not correct after enter ( indent is not applied )
Summary: code template: cursor position is not correct after enter ( indent is not app...
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Completion (show other bugs)
Version: 8.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-14 08:47 UTC by mug896
Modified: 2017-05-14 15:11 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (17.91 KB, image/gif)
2017-05-14 08:47 UTC, mug896
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mug896 2017-05-14 08:47:24 UTC
Created attachment 164314 [details]
screenshot

In java ${cursor} position indent work well after enter
but in c/c++ and fortran is not

--------- code template for C/C++ ------------

for (int ${i} = 0; ${i} < ${size}; ${i}++) {
    ${cursor}
}

---------------------------------------------

I have attached a gif animation