From 825751e04b92135ce43cf4a1e6da581ed89b2f6f Mon Sep 17 00:00:00 2001 From: Talia Kaplanian <41590532+tkrose@users.noreply.github.com> Date: Sun, 28 Oct 2018 12:44:32 -0400 Subject: [PATCH] Added single line comment shortcut (#20185) * Update index.md * added verbiage specifying comment hotkeys are only in some editors --- guide/english/java/comments-in-java/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/guide/english/java/comments-in-java/index.md b/guide/english/java/comments-in-java/index.md index a45071b6f8..bab027c5a6 100644 --- a/guide/english/java/comments-in-java/index.md +++ b/guide/english/java/comments-in-java/index.md @@ -20,6 +20,8 @@ To create a single line comment just add two `//` forward slashes before the tex // This is how single line comment looks like ``` +In some editors you can comment out multiple lines or a large portion of code with single line comments by selecting the code, holding the `command` key, and then pressing the `/` forward slash key. + #### 2. Multi Line Comment To Create a Multi line comment wrap the lines in between `/*` line goes here `*/`