bug-indent
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

C++ comment alignment


From: Lukas . Kurmann
Subject: C++ comment alignment
Date: Mon, 11 Sep 2006 12:44:17 +0200

Dear Sir/Madame,

        we have observed that indent does unfortunately reformat comments 
in the following way (some sample code with C++ comments):

(1)
    ptr = ptrValue;     // Pointer for sensor-description class
    range = me->ptrDescription;       // Descriptor

however, it would be much better if the above comments would be kept 
alligned, like:

(2)
    ptr = ptrValue;                     // Pointer for sensor-description 
class
    range = me->ptrDescription;     // Descriptor

I could not find any option to make that work, I appreciate very much your 
comments on how to align C++ comments as in (2) shown!

Bests Lukas


Lukas Kurmann

ABB Forschungszentrum
ZRD / A4
Wallstadter Strasse 59
DE  68526   Ladenburg

Phone: +49 6203 716012
Fax: +49 6203 716412
email: address@hidden 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]