How to do multiple line editing?

后端 未结 3 1733
南旧
南旧 2020-12-22 18:14

I want to edit multiple lines in eclipse, but I can\'t find any short cut or Plugin. In Geany I just press ctrl+alt+up/down I can

相关标签:
3条回答
  • 2020-12-22 18:50

    On OS X, the key combination for multi-line edits in Eclipse (or STS) is option/alt+command+A

    0 讨论(0)
  • 2020-12-22 19:01

    You can try the following plugin,

    https://github.com/caspark/eclipse-multicursor/releases

    With this multiple occurrence of same text can be selected and edited. This is similar to multi select functionality available in editors like Sublime and Visual studio code.

    0 讨论(0)
  • 2020-12-22 19:15

    Press alt + shift + A to Toggle block selection (Toggle block / column selection in the current text editor), this will let you write vertically in eclipse, then you can easily do this.


    Go to Window->Preferences.

    enter image description here

    Find for binding in text box surrounded by red box.

    0 讨论(0)
提交回复
热议问题