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 248397 - C/C++ Header tab size and indentation doesn't work properly
Summary: C/C++ Header tab size and indentation doesn't work properly
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.1
Hardware: PC Linux
: P2 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on: 142146
Blocks:
  Show dependency tree
 
Reported: 2014-11-04 14:11 UTC by kliteyn
Modified: 2014-11-11 12:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
C language preview - GOOD (75.90 KB, image/jpeg)
2014-11-04 14:13 UTC, kliteyn
Details
C/C++ header preview - BAD (92.57 KB, image/jpeg)
2014-11-04 14:14 UTC, kliteyn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kliteyn 2014-11-04 14:11:58 UTC
In C/C++ Header: overriding setting for all languages doesn't work for tab size and indentation:

  - Going to Tools->Options->editor->Formatting
  - Choosing language "C/C++ Header"
  - Selecting "Override global options"

Playing with different sizes of indentation or tab sizes doesn't really change anything in the "Preview" window, or changes, but not in accordance with the settings.
On the header file's code there is no change whatsoever - it only complies with the settings in "All Languages", even though I mark "Override global options"
Comment 1 kliteyn 2014-11-04 14:13:08 UTC
Created attachment 150266 [details]
C language preview - GOOD

This is how settings of C look like in preview window - GOOD
Comment 2 kliteyn 2014-11-04 14:14:21 UTC
Created attachment 150267 [details]
C/C++ header preview - BAD

This is how C/C++ Headers preview looks - BAD
Comment 3 kliteyn 2014-11-04 14:23:19 UTC
Bumping priority to P2. For me personally it's P1... :(
Comment 4 soldatov 2014-11-07 08:19:13 UTC
(In reply to kliteyn from comment #3)
> Bumping priority to P2. For me personally it's P1... :(
Ok. It is not a good, but I will mark this bug as NetBeans 8.0.1 patch2 candidate.
Comment 5 Alexander Simon 2014-11-07 08:42:28 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/6b179c73d0f3
Comment 6 kliteyn 2014-11-07 20:34:06 UTC
Thanks!

What is the procedure for me to verify this?
How will the fix be pushed out in update to the Dev version of NetBeans?

A pointer to a suitable doc on this subject will suffice.
Comment 7 Quality Engineering 2014-11-08 10:59:00 UTC
Integrated into 'main-silver', will be available in build *201411080653* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/6b179c73d0f3
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #248397 C/C++ Header tab size and indentation doesn't work properly
Comment 8 Quality Engineering 2014-11-10 23:20:20 UTC
Integrated into 'releases/release801', will be available in build *201411102027* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/35e67f400753
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #248397 C/C++ Header tab size and indentation doesn't work properly
(transplanted from 6b179c73d0f3c92858c7f3eb00462faf49b13a60)