Caret is moving to the line start in Typescript Files

Answered

In Typescript Files, i have the weird issue that my caret is moving to the line start. This happens after some second of doing nothing when the line is empty except of some indents.  Does someone know a solution? 

(version : 2019.2)

1
2 comments

Are you sure that the caret is moving to the beginning of the line (and indents stays in place), or maybe trailing spaces are automatically trimmed? 

Do you have "trim_trailing_whitespace = true" option enabled in `.editorconfig` file? 

YouTrack item for the reference: 

https://youtrack.jetbrains.com/issue/IDEA-219423#focus=streamItem-27-3619905.0-0

1
Avatar
Permanently deleted user

Mh you where correct i had trim_trailing_whitespace enabled. Thank you for your help ! 

0

Please sign in to leave a comment.