Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information