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 use the autocomplete feature in VS Code (triggered by pressing "Tab"), it inserts the suggested code as expected. However, if I immediately undo the autocomplete action (using Ctrl + Z or Cmd + Z), the code is reverted correctly, but the editor view does not automatically jump to the location of the undo. This creates a mismatch between what is shown on the screen and where the cursor/code change actually occurs.
Steps to Reproduce:
Open any file in Cursor.
Start typing a variable or function name and trigger the autocomplete suggestions.
Press Tab to accept an autocomplete suggestion.
Scroll to anywhere and press Ctrl + Z (or Cmd + Z on Mac) to undo the autocomplete action.
Expected Behavior:
After undoing the autocomplete action, the editor view should automatically scroll to the location of the undo operation, ensuring that the cursor and the visible code are synchronized.
Actual Behavior:
The autocomplete action is undone (code is removed as expected), but the editor view does not scroll to the location of the undo operation. The cursor is moved to the correct position in the code, but the visible part of the editor remains unchanged, causing confusion.
Environment:
Cursor Version: 0.45.3
VSCode Version: 1.96.2
OS: Win11
Additional Information:
This behavior disrupts the workflow because the user has to manually scroll to the location of the undo operation to understand what changed. This issue seems to only occur with autocomplete actions and does not happen with other undo operations like typing or deleting code.
The text was updated successfully, but these errors were encountered:
Description:
When I use the autocomplete feature in VS Code (triggered by pressing "Tab"), it inserts the suggested code as expected. However, if I immediately undo the autocomplete action (using
Ctrl + Z
orCmd + Z
), the code is reverted correctly, but the editor view does not automatically jump to the location of the undo. This creates a mismatch between what is shown on the screen and where the cursor/code change actually occurs.Steps to Reproduce:
Tab
to accept an autocomplete suggestion.Ctrl + Z
(orCmd + Z
on Mac) to undo the autocomplete action.Expected Behavior:
After undoing the autocomplete action, the editor view should automatically scroll to the location of the undo operation, ensuring that the cursor and the visible code are synchronized.
Actual Behavior:
The autocomplete action is undone (code is removed as expected), but the editor view does not scroll to the location of the undo operation. The cursor is moved to the correct position in the code, but the visible part of the editor remains unchanged, causing confusion.
Environment:
Additional Information:
This behavior disrupts the workflow because the user has to manually scroll to the location of the undo operation to understand what changed. This issue seems to only occur with autocomplete actions and does not happen with other undo operations like typing or deleting code.
The text was updated successfully, but these errors were encountered: