Skip to content

Port #7307 to release-1.8#7463

Merged
zhengbli merged 1 commit into
microsoft:release-1.8from
zhengbli:release-1.8
Mar 10, 2016
Merged

Port #7307 to release-1.8#7463
zhengbli merged 1 commit into
microsoft:release-1.8from
zhengbli:release-1.8

Conversation

@zhengbli

Copy link
Copy Markdown

No description provided.

zhengbli pushed a commit that referenced this pull request Mar 10, 2016
@zhengbli zhengbli merged commit 5859003 into microsoft:release-1.8 Mar 10, 2016
@zhengbli zhengbli deleted the release-1.8 branch March 10, 2016 19:22
@yuit

yuit commented Mar 10, 2016

Copy link
Copy Markdown
Contributor

No fourslash tests?

@zhengbli

Copy link
Copy Markdown
Author

@yuit turns out it is hard to test the behavior, as VSCode indents first and then send the buffer content to the server for formatting; while VS formats first, and then ask the language service about the indentation; and our fourslash tests mimic's VS' behavior. So there is no way to know if a inserted indentation would be removed, as the test suite doesn't insert indentation. I've tested on VS and VSCode to make sure it solves the issue.

@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants