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
When I convert a function to named function it moves my cursor to the end of the function, I would like to keep the cursor at the first line of my function where I used the refactor function. It doesn't happen when converting named to arrow though.
How would it work
Have this arrow function
constfoo=()=>{};
Move cursor to "foo"
Convert to named function
Cursor is at the end instead of in "foo"
Expected behavior
I expect the cursor to stay in the first line
Additional information
Version of the extension used: v6.14.4
The text was updated successfully, but these errors were encountered:
Describe what's missing
When I convert a function to named function it moves my cursor to the end of the function, I would like to keep the cursor at the first line of my function where I used the refactor function. It doesn't happen when converting named to arrow though.
How would it work
Have this arrow function
Move cursor to "foo"
Convert to named function
Cursor is at the end instead of in "foo"
Expected behavior
I expect the cursor to stay in the first line
Additional information
The text was updated successfully, but these errors were encountered: