I am looking for a way to comment the current selection in an xml file in eclipse (STS 2.3.2). ctrl+/ gets seems to get ignor开发者_如何学运维ed when editing XML.
Google left me on my own.
Ctrl-Shift-C, or something... some combination of two modifier keys and C :-)
Use
Ctrl + SHIFT + L which will open a list of all major shortcuts for eclipse. 1. ForSingle line comment Ctrl + / (Forwards Slash) and
2. Single line uncomment Ctrl + \ (Backslash)
3. For Multiline comment Ctrl + Shift + / (Forwards Slash) and
4. Multiline uncomment Ctrl + Shift + \ (Backslash)
SOURCE : answered by Hardik Mishra in --> Eclipse comment/uncomment shortcut?
精彩评论