简体   繁体   中英

Eclipse HotKey: How to switch between indenting levels based with spaces?

Switching from Tabs to Spaces in our Java project, I am looking for the Eclipse shortcut so basic that I can't remember it which allows, on a given line, to move the caret to the next "group of spaces".

With tabs, it is pretty easy, because they count as a single character, so just using arrow keys is okay, but with spaces, if, let's say, the indentation level is based on 4 spaces, Left or Right arrows must be pushed down 4 times before accessing the next indentation level.

Thanks!

  1. Default indentation: Ctrl + I
  2. Right indentation: Tab
  3. Left: Shift + Tab

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM