How to use Paste from History feature in Android studio (APG-11)

How to use Paste from History feature in Android studio (APG-11)

When developing an Android app, you often copy and paste code. You may need to copy and paste numerous code blocks at times. Typically, you would copy and paste lines one by one. It's significantly more difficult if you need to paste in many places (files). However, there is a better solution.


Meet Paste from History

You can access your clipboard history and quickly paste any of the recent items copied to the clipboard. Android Studio starts recording copied items to its clipboard history as soon as you start it and clears the history when you close it.

To use Paste from History,

1. Make a copy of whatever you wish to paste anywhere.

2. Go to the desired file.

3. Press Ctrl+Shift+V (or Edit -> Paste -> Paste from History) to open Paste from History windows

4. In the Choose Content to Paste dialog, you can choose one of the recent clipboard entries and preview it.

5. Click Paste to paste the desired entry in a corresponding way.?

No alt text provided for this image

#android?#androiddeveloper?#androiddevelopment?#androidstudio?#kotlin?#java


We also have an android developer community on WhatsApp where we enjoy learning and sharing everything android, including live sessions, interview preparation, job referral, tutorials, and Q&A. Join us if you're interested.

https://bit.ly/adc-whatsapp-1

https://bit.ly/adc-whatsapp-02?(Join this if the first group is full)

No alt text provided for this image

要查看或添加评论,请登录

Rajesh Hadiya的更多文章

社区洞察

其他会员也浏览了