Skip to content

Add support for disabling formatter for a code block #33772

@varunkumar

Description

@varunkumar
  • VSCode Version: Code 1.15.0 (8b95971, 2017-08-09T20:16:18.034Z)
  • OS Version: Windows_NT x64 6.1.7601

This is a feature request. I wanted a way to disable formatter for a block of code based on some sort of annotations. This will be handy for cases that are not yet supported by VSCode formatter. For example, support for dynamic imports were added in v1.14. Before that import() statements were not getting formatted properly.

Metadata

Metadata

Assignees

Labels

formattingSource formatter issuesjavascriptJavaScript support issuestypescriptTypescript support issuesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions