Skip to content

Conversation

@zhengbli
Copy link
Contributor

No description provided.

zhengbli added 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
Copy link
Contributor

yuit commented Mar 10, 2016

No fourslash tests?

@zhengbli
Copy link
Contributor 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