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 - Clang-format and global format
Summary: Clang-format and global format
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Editor (show other bugs)
Version: Dev
Hardware: PC Linux
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-04 11:08 UTC by soldatov
Modified: 2017-08-11 18:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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