开发者

Eclipse shortcut to comment selection in an XML file

开发者 https://www.devze.com 2023-01-03 00:09 出处:网络
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.

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?

0

精彩评论

暂无评论...
验证码 换一张
取 消