What is the shortcut key to comment multiple lines using PyCharm IDE?












0















In this video, at "3:06" time, how did he commented multiple lines together by selecting the lines 6, 7 and 8 ?










share|improve this question

























  • the answer depends on the editor you are using, see answer here for sublime

    – Silmathoron
    Nov 22 '18 at 8:06











  • All these answers are correct, I'm going to upvote them all

    – Dinko Pehar
    Nov 22 '18 at 19:09
















0















In this video, at "3:06" time, how did he commented multiple lines together by selecting the lines 6, 7 and 8 ?










share|improve this question

























  • the answer depends on the editor you are using, see answer here for sublime

    – Silmathoron
    Nov 22 '18 at 8:06











  • All these answers are correct, I'm going to upvote them all

    – Dinko Pehar
    Nov 22 '18 at 19:09














0












0








0








In this video, at "3:06" time, how did he commented multiple lines together by selecting the lines 6, 7 and 8 ?










share|improve this question
















In this video, at "3:06" time, how did he commented multiple lines together by selecting the lines 6, 7 and 8 ?







python pycharm comments






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 23 '18 at 1:55









Dinko Pehar

1,3393324




1,3393324










asked Nov 22 '18 at 8:03









Thirumalai vasanThirumalai vasan

205




205













  • the answer depends on the editor you are using, see answer here for sublime

    – Silmathoron
    Nov 22 '18 at 8:06











  • All these answers are correct, I'm going to upvote them all

    – Dinko Pehar
    Nov 22 '18 at 19:09



















  • the answer depends on the editor you are using, see answer here for sublime

    – Silmathoron
    Nov 22 '18 at 8:06











  • All these answers are correct, I'm going to upvote them all

    – Dinko Pehar
    Nov 22 '18 at 19:09

















the answer depends on the editor you are using, see answer here for sublime

– Silmathoron
Nov 22 '18 at 8:06





the answer depends on the editor you are using, see answer here for sublime

– Silmathoron
Nov 22 '18 at 8:06













All these answers are correct, I'm going to upvote them all

– Dinko Pehar
Nov 22 '18 at 19:09





All these answers are correct, I'm going to upvote them all

– Dinko Pehar
Nov 22 '18 at 19:09












3 Answers
3






active

oldest

votes


















1














Have you googled it?

First of all this is a setting you can change and define in "Settings".

The default I think (and the way I do it) is with ctrl + .

Try it. And google it...





(Based on the video in the link)






share|improve this answer

































    1














    This heavily depends on where you're writing your python code. If you're writing it in Notepad, there won't be a shortcut for commenting a line.



    However, if you use an IDE, you will probably have such capability alongside the ability to change the shortcut.
    Just search Google for keyboard shortcuts for your preferred IDE.






    share|improve this answer



















    • 1





      i'm using PyCharm, but there isn't actual way to do it! but the guy on the youtube does..

      – Thirumalai vasan
      Nov 22 '18 at 11:10






    • 1





      When googling "pycharm keyboard shortcuts", the first result is: jetbrains.com/help/pycharm/mastering-keyboard-shortcuts.html I.e for PyCharm the default is Ctrl+/. If you wish to change it up, take a look at (first result on google for "pycharm change keyboard shortcuts"): jetbrains.com/help/pycharm/…

      – Mart R
      Nov 22 '18 at 14:22





















    1














    Is depends on you're text editor , but probably all text editor use (ctrl + /) just highlight all the code you need to comments and use the shortcut , to know what shortcut using in you're favorite text editor search in google : YourTextEditor shortcuts






    share|improve this answer























      Your Answer






      StackExchange.ifUsing("editor", function () {
      StackExchange.using("externalEditor", function () {
      StackExchange.using("snippets", function () {
      StackExchange.snippets.init();
      });
      });
      }, "code-snippets");

      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "1"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53426322%2fwhat-is-the-shortcut-key-to-comment-multiple-lines-using-pycharm-ide%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      1














      Have you googled it?

      First of all this is a setting you can change and define in "Settings".

      The default I think (and the way I do it) is with ctrl + .

      Try it. And google it...





      (Based on the video in the link)






      share|improve this answer






























        1














        Have you googled it?

        First of all this is a setting you can change and define in "Settings".

        The default I think (and the way I do it) is with ctrl + .

        Try it. And google it...





        (Based on the video in the link)






        share|improve this answer




























          1












          1








          1







          Have you googled it?

          First of all this is a setting you can change and define in "Settings".

          The default I think (and the way I do it) is with ctrl + .

          Try it. And google it...





          (Based on the video in the link)






          share|improve this answer















          Have you googled it?

          First of all this is a setting you can change and define in "Settings".

          The default I think (and the way I do it) is with ctrl + .

          Try it. And google it...





          (Based on the video in the link)







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Nov 22 '18 at 8:35

























          answered Nov 22 '18 at 8:07









          ShlomiFShlomiF

          832410




          832410

























              1














              This heavily depends on where you're writing your python code. If you're writing it in Notepad, there won't be a shortcut for commenting a line.



              However, if you use an IDE, you will probably have such capability alongside the ability to change the shortcut.
              Just search Google for keyboard shortcuts for your preferred IDE.






              share|improve this answer



















              • 1





                i'm using PyCharm, but there isn't actual way to do it! but the guy on the youtube does..

                – Thirumalai vasan
                Nov 22 '18 at 11:10






              • 1





                When googling "pycharm keyboard shortcuts", the first result is: jetbrains.com/help/pycharm/mastering-keyboard-shortcuts.html I.e for PyCharm the default is Ctrl+/. If you wish to change it up, take a look at (first result on google for "pycharm change keyboard shortcuts"): jetbrains.com/help/pycharm/…

                – Mart R
                Nov 22 '18 at 14:22


















              1














              This heavily depends on where you're writing your python code. If you're writing it in Notepad, there won't be a shortcut for commenting a line.



              However, if you use an IDE, you will probably have such capability alongside the ability to change the shortcut.
              Just search Google for keyboard shortcuts for your preferred IDE.






              share|improve this answer



















              • 1





                i'm using PyCharm, but there isn't actual way to do it! but the guy on the youtube does..

                – Thirumalai vasan
                Nov 22 '18 at 11:10






              • 1





                When googling "pycharm keyboard shortcuts", the first result is: jetbrains.com/help/pycharm/mastering-keyboard-shortcuts.html I.e for PyCharm the default is Ctrl+/. If you wish to change it up, take a look at (first result on google for "pycharm change keyboard shortcuts"): jetbrains.com/help/pycharm/…

                – Mart R
                Nov 22 '18 at 14:22
















              1












              1








              1







              This heavily depends on where you're writing your python code. If you're writing it in Notepad, there won't be a shortcut for commenting a line.



              However, if you use an IDE, you will probably have such capability alongside the ability to change the shortcut.
              Just search Google for keyboard shortcuts for your preferred IDE.






              share|improve this answer













              This heavily depends on where you're writing your python code. If you're writing it in Notepad, there won't be a shortcut for commenting a line.



              However, if you use an IDE, you will probably have such capability alongside the ability to change the shortcut.
              Just search Google for keyboard shortcuts for your preferred IDE.







              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Nov 22 '18 at 8:09









              Mart RMart R

              112




              112








              • 1





                i'm using PyCharm, but there isn't actual way to do it! but the guy on the youtube does..

                – Thirumalai vasan
                Nov 22 '18 at 11:10






              • 1





                When googling "pycharm keyboard shortcuts", the first result is: jetbrains.com/help/pycharm/mastering-keyboard-shortcuts.html I.e for PyCharm the default is Ctrl+/. If you wish to change it up, take a look at (first result on google for "pycharm change keyboard shortcuts"): jetbrains.com/help/pycharm/…

                – Mart R
                Nov 22 '18 at 14:22
















              • 1





                i'm using PyCharm, but there isn't actual way to do it! but the guy on the youtube does..

                – Thirumalai vasan
                Nov 22 '18 at 11:10






              • 1





                When googling "pycharm keyboard shortcuts", the first result is: jetbrains.com/help/pycharm/mastering-keyboard-shortcuts.html I.e for PyCharm the default is Ctrl+/. If you wish to change it up, take a look at (first result on google for "pycharm change keyboard shortcuts"): jetbrains.com/help/pycharm/…

                – Mart R
                Nov 22 '18 at 14:22










              1




              1





              i'm using PyCharm, but there isn't actual way to do it! but the guy on the youtube does..

              – Thirumalai vasan
              Nov 22 '18 at 11:10





              i'm using PyCharm, but there isn't actual way to do it! but the guy on the youtube does..

              – Thirumalai vasan
              Nov 22 '18 at 11:10




              1




              1





              When googling "pycharm keyboard shortcuts", the first result is: jetbrains.com/help/pycharm/mastering-keyboard-shortcuts.html I.e for PyCharm the default is Ctrl+/. If you wish to change it up, take a look at (first result on google for "pycharm change keyboard shortcuts"): jetbrains.com/help/pycharm/…

              – Mart R
              Nov 22 '18 at 14:22







              When googling "pycharm keyboard shortcuts", the first result is: jetbrains.com/help/pycharm/mastering-keyboard-shortcuts.html I.e for PyCharm the default is Ctrl+/. If you wish to change it up, take a look at (first result on google for "pycharm change keyboard shortcuts"): jetbrains.com/help/pycharm/…

              – Mart R
              Nov 22 '18 at 14:22













              1














              Is depends on you're text editor , but probably all text editor use (ctrl + /) just highlight all the code you need to comments and use the shortcut , to know what shortcut using in you're favorite text editor search in google : YourTextEditor shortcuts






              share|improve this answer




























                1














                Is depends on you're text editor , but probably all text editor use (ctrl + /) just highlight all the code you need to comments and use the shortcut , to know what shortcut using in you're favorite text editor search in google : YourTextEditor shortcuts






                share|improve this answer


























                  1












                  1








                  1







                  Is depends on you're text editor , but probably all text editor use (ctrl + /) just highlight all the code you need to comments and use the shortcut , to know what shortcut using in you're favorite text editor search in google : YourTextEditor shortcuts






                  share|improve this answer













                  Is depends on you're text editor , but probably all text editor use (ctrl + /) just highlight all the code you need to comments and use the shortcut , to know what shortcut using in you're favorite text editor search in google : YourTextEditor shortcuts







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Nov 22 '18 at 8:27









                  Ma7Ma7

                  10510




                  10510






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Stack Overflow!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53426322%2fwhat-is-the-shortcut-key-to-comment-multiple-lines-using-pycharm-ide%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      To store a contact into the json file from server.js file using a class in NodeJS

                      Redirect URL with Chrome Remote Debugging Android Devices

                      Dieringhausen