Skip to content

'reindent all lines': wrong indent with object literal #19150

@aeschli

Description

@aeschli

Testing #18958:

  • in the vscode repo, open 'themeService.ts'
  • run 'reindent all lines'.
  • Note the change on defaultThemeColors:
let defaultThemeColors: { [baseTheme: string]: IThemeSetting[] } = {
	'vs': [
	{ scope: 'token.info-token', settings: { foreground: '#316bcd' } },
	{ scope: 'token.warn-token', settings: { foreground: '#cd9731' } },
	{ scope: 'token.error-token', settings: { foreground: '#cd3131' } },
	{ scope: 'token.debug-token', settings: { foreground: 'purple' } }
	],

Metadata

Metadata

Assignees

Labels

editor-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