What is the shortcut key to comment multiple lines using PyCharm IDE?
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
add a comment |
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
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
add a comment |
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
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
python pycharm comments
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
add a comment |
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
add a comment |
3 Answers
3
active
oldest
votes
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)
add a comment |
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.
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 isCtrl+/
. 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
add a comment |
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
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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)
add a comment |
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)
add a comment |
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)
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)
edited Nov 22 '18 at 8:35
answered Nov 22 '18 at 8:07
ShlomiFShlomiF
832410
832410
add a comment |
add a comment |
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.
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 isCtrl+/
. 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
add a comment |
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.
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 isCtrl+/
. 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
add a comment |
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.
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.
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 isCtrl+/
. 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
add a comment |
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 isCtrl+/
. 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
add a comment |
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
add a comment |
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
add a comment |
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
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
answered Nov 22 '18 at 8:27
Ma7Ma7
10510
10510
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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