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
feat: Improve code insertion in AutoDevInsertCodeAction
- Replace `textToPaste` with `newText` to better represent the variable's purpose.
- Modify the logic to handle both selected text and no selection cases, ensuring the correct insertion point is used.
- Update the insertion and PSI file handling to work with the new `newText` variable.
- Ensure that the document is committed and reformatted correctly after insertion.
0 commit comments