Skip to content

Typescript server: bad formatting for formatonkey if convertTabsToSpaces === false #2507

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
dbaeumer opened this issue Mar 26, 2015 · 2 comments
Assignees
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue

Comments

@dbaeumer
Copy link
Member

Configure the format options so that convertTabsToSpaces = false.

Type to insert a new line behind an indented }

Observe: the new line has tabs and spaces. The cursor sits between.

@mhegazy mhegazy added the Bug A bug in TypeScript label Mar 26, 2015
@mhegazy
Copy link
Contributor

mhegazy commented Apr 2, 2015

@dbaeumer can you send a PR

@dbaeumer
Copy link
Member Author

dbaeumer commented Apr 9, 2015

PR #2687 opened

dbaeumer added a commit that referenced this issue Apr 19, 2015
fixes #2507 - bad formatting for formatonkey if convertTabsToSpaces === false
@mhegazy mhegazy modified the milestones: TypeScript 1.5, Community Apr 19, 2015
@mhegazy mhegazy added the Fixed A PR has been merged for this issue label Apr 19, 2015
@microsoft microsoft locked and limited conversation to collaborators Jun 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue
Projects
None yet
Development

No branches or pull requests

2 participants