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 254739 - Automatic documentation comment block has inconsistent whitespace
Summary: Automatic documentation comment block has inconsistent whitespace
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0.2
Hardware: PC Linux
: P3 normal with 1 vote (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-26 00:59 UTC by ProjectOrc
Modified: 2015-09-05 03:04 UTC (History)
1 user (show)

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 ProjectOrc 2015-08-26 00:59:04 UTC
The automatic documentation comment block has inconsistent whitespace compared to the editor settings.

Typing /** on the line before a C++ function then pressing Enter will automatically create a comment block and populate it with parameters in a Doxygen or Javadoc style.

The white space generated is incorrectly using spaces when it should be using tabs. This can be quite tedious to subsequently fix.

This is currently produced:
		/**
		 * 
         * @param node blah blah
         */

That is:

TABS/**
TABS+ONE_SPACE* 
SPACES* @param node
SPACES*/

Expected:

TABS/**
TABS+ONE_SPACE* 
TABS+ONE_SPACE* @param node
TABS+ONE_SPACE*/

Note:

The current IDE settings are set to use tabs and not spaces for tabs.


Potentially related:

- Bug 33334 - Auto-generated code/documentation disregard editor settings
Comment 1 Alexander Simon 2015-09-04 10:09:35 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/35c745cdef05
Comment 2 Quality Engineering 2015-09-05 03:04:04 UTC
Integrated into 'main-silver', will be available in build *201509050002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/35c745cdef05
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #254739 Automatic documentation comment block has inconsistent whitespace