Skip to content

Move line adds single space indent to import #29347

@chrmarti

Description

@chrmarti
  • VSCode Version: Code - Insiders 1.14.0-insider (779a7df, 2017-06-23T05:48:52.617Z)
  • OS Version: Darwin x64 15.6.0
  • Extensions: Many

Moving the first import one line down. The file comment and the empty line are required for it reproduce:

single-space-indent-on-import

The content:

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

import { parseTree, findNodeAtLocation, Node } from 'jsonc-parser';
import * as nls from 'vscode-nls';
import * as MarkdownIt from 'markdown-it';
import { languages, workspace, Disposable, ExtensionContext, TextDocument, Uri, Diagnostic, Range, DiagnosticSeverity, Position } from 'vscode';

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugeditor-autoindentEditor auto indentation issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions