Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android studio, Ctrl+BackSpace delete same as eclipse

I migrated from Eclipse to Android Studio, but I loved eclipse ability to delete camelCase names by Ctrl+backspace. It deletes from current position of cursor to the first Capital word in Eclipse, but Android Studio deletes the whole word with the same shortcut. How can I do he same as eclipse in AS?

The second question is about scrolling- in Eclipse Ctrl+Mouse Wheel cases scrolling a page, is it possible to do the same in AS?

like image 973
Alireza Akbari Avatar asked May 05 '15 14:05

Alireza Akbari


2 Answers

Open up your Android Studio keymap by going to File > Settings, then selecting "Keymap" on the left.

The first option (Eclipse's Ctrl + Backspace) is called "Delete to Word Start in Different 'CamelHumps' Mode." You can assign it to whatever keybinding works best for you.

As for the second option- it sounds like PageUp and PageDown provide the functionality you are looking for. I'm not aware of a way to make the mouse's scroll wheel perform page scrolling.

like image 167
Bryan Herbst Avatar answered Oct 12 '22 07:10

Bryan Herbst


To delete one word at a time using CTRL+backspace turn this setting on:

File -> Settings -> Editor -> Smart Keys -> "Use CamelHumps words"

like image 44
Alan S Avatar answered Oct 12 '22 06:10

Alan S