Skip to content

'reindent all lines' removes leading space in comment #19142

Closed
@aeschli

Description

@aeschli

Testing #19091:
In a typescript file:

/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the MIT License. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/

'use strict';
class A {
}
  • use the 'Reindent all lines' command
  • check out the file comment. The space before '*' has been removed
/*---------------------------------------------------------------------------------------------
*  Copyright (c) Microsoft Corporation. All rights reserved.
*  Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/

Metadata

Metadata

Assignees

Labels

*out-of-scopePosted issue is not in scope of VS Codeeditor-autoindentEditor auto indentation issuestypescriptTypescript support issuesunder-discussionIssue is under discussion for relevance, priority, approach

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions