Project

General

Profile

Actions

Feature #126

open

Reindent comment, if not space before then please do not indent

Added by Wil van Antwerpen almost 7 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Start date:
03/08/2019
Due date:
% Done:

0%

Estimated time:

Description

On behalf of Marco28 at discord chat
Hi Wil
The // indent is exact as I asked and most of the time perfect. Just one exception would be good. If it was not indented then leave alone. But when even only one space or tab is before the // at the front then replace with the correct indent. Is that possible?

@Wil van Antwerpen the reason of the two // is the ctrl/ commenting of code vs the documentation of code. Once indented you cannot do the Ctrl/ to indent. However if there is a choice then I prefer to have the indented comments. Perhaps a flag for ‘reindent comments’ which would leave them alone if not selected irrespective of the start position.


Related issues 1 (1 open0 closed)

Related to DfRefactor - Suggestion #185: Comments at column 0 should not be indentedNew01/17/2021

Actions
Actions

Also available in: Atom PDF