Microsoft/TypeScript

Add rule typescript.format.insertSpaceAfterOpeningAndBeforeClosingNamedImport

Open

#9,224 opened on 2016年6月17日

GitHub で見る
 (3 comments) (1 reaction) (0 assignees)TypeScript (6,726 forks)batch import
Domain: FormatterHelp WantedSuggestion

Repository metrics

Stars
 (48,455 stars)
PR merge metrics
 (平均マージ 6d 17h) (30d で 9 merged PRs)

説明

From @unional on June 16, 2016 22:12

  • VSCode Version: 1.2.1
  • OS Version: Windows 2012 R2

Currently object literal will have space added, but not named import:

// before format code
import {Container} from './Container';

let x = {Container};

// after format code
import {Container} from './Container';

let x = { Container };

Copied from original issue: Microsoft/vscode#7795

コントリビューターガイド