Search code examples
androidandroid-studiokeyboard-shortcuts

Why is typing Ctrl + D in my android studio deleting my current line instead of duplicating it?


Android documentation shows no changes in the keyboard shortcuts.

Expected duplication of a line of code, recently since a few days, that has changed. my line of code on pressing ctrl+D gets deleted instead of duplicating it. and my ctrl+Y is not doing any work. Can I know what has changed?


Solution

  • Please check this,

    1) File -> Settings
    2) Go to Keymap and select the key map that you want to use. 
    3) Restart IDE
    

    enter image description here