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

Summary: code template: cursor position is not correct after enter ( indent is not applied )
Product: cnd Reporter: mug896
Component: Code CompletionAssignee: Alexander Simon <alexvsimon>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: screenshot

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