Move to new file misses line breaks #75493
Labels
*duplicate
Issue identified as a duplicate of another issue(s)
formatting
Source formatter issues
javascript
JavaScript support issues
typescript
Typescript support issues
upstream
Issue identified as 'upstream' component related (exists outside of VS Code)
When using move to a new file all previously made formatting (e.g. line breaks) are lost. I like the workflow of writing a class in an already existing file and then just pushing it to a new one, but losing line breaks is quite annoying and also unexpected.
Information about Visual Studio Code version:
Version: 1.35.1 (user setup)
Commit: c7d83e5
Date: 2019-06-12T14:30:02.622Z
Electron: 3.1.8
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Windows_NT x64 10.0.18362
File type: .ts
Requested behaviour:
Copy all text from the class from the class beginning to the class end as is without reformatting the code (by removing line breaks).
The text was updated successfully, but these errors were encountered: