You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it'd be fine if we keep the caret inside the code block / expression the caret was in before formatting, because in case of full file / big code block formatting, the code may be reordered significantly and keeping absolute position of the caret is meaningless.
@vasily-kirichenko Finding out new caret positions is tricky. At the moment, I scale caret positions based on line numbers. I keep your suggestion in mind and implement it when it is feasible.
It'd be nice if the caret keeps its original position in which it was before the formatting.
The text was updated successfully, but these errors were encountered: