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 271233

Summary: Clang-format and global format
Product: cnd Reporter: soldatov <soldatov>
Component: EditorAssignee: Alexander Simon <alexvsimon>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: Dev   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description soldatov 2017-08-04 11:08:15 UTC
Scenario:
- Create Arguments sample
- Call Project Properties window
- Select Formatting category
- Select Use clang-format > Predefined Style = BasedOnStyle: GNU
- Press OK button
- Open args.c file
- Select all text and press Alt+Shift+LeftArrow keys 2 times
- Close file in editor
- Select Arguments project node
- Press Source|Format main menu item
- Press OK button in Format Recursively dialog window
- Open file again
==>
Expected: args.c in GNU style
Real: args.c in NetBeans style