Vijay
Vijay

Reputation: 3

Comment multiple line in xml file using shortcut

We can comment multiple line in xml using below,

<!-- comment lines

 -->

Can anyone please let me know if we can do this using a shortcut in Eclipse (Neon 4.6.1). If yes what is this shortcut ?

Upvotes: 0

Views: 4674

Answers (2)

habin prasad
habin prasad

Reputation: 84

For Mac try cmd+/. This works for most of the editors/IDE.

Upvotes: 0

Anto Livish A
Anto Livish A

Reputation: 332

For commenting multiple lines, you can use

Ctrl + Shift + /

Upvotes: 1

Related Questions