Commenting blocks of code in Eclipse / Visual Studio .NET

Submitted by Jochus on Sun, 24/03/2013 - 21:14 | Posted in: Java



Latest weeks, I've been switching a lot between Eclipse and Visual Studio .NET. I'm always forgetting the shortcut to comment blocks of code:

Eclipse

Comment/uncomment: ⌘ + /

Visual Studio .NET

Comment: Ctrl + K, Ctrl + C
Uncomment: Ctrl + K, Ctrl + U

Add new comment

The content of this field is kept private and will not be shown publicly.

Full HTML

  • Lines and paragraphs break automatically.
  • You can caption images (data-caption="Text"), but also videos, blockquotes, and so on.
  • Web page addresses and email addresses turn into links automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <bash>, <cpp>, <css>, <html5>, <java>, <javascript>, <php>, <sql>, <xml>. The supported tag styles are: <foo>, [foo].
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.