- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2023 09:18 PM
Suppose if the query is long one and its commented due to some issues later I wanted to run that cell, is there any shortcut to enable the entire cell. The cell is with 800 lines of code and each line is commented with # symbol and I want to enable it. Please let me know if any shortcut or its just replacing the entire cell without # symbol.
- Labels:
-
Cell
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2023 02:30 AM
@KVNARK . Hi,
If I understand correctly, you want to either comment or disable comment on your entire cell using a Shortcut.
If that's the case,
- To do for the whole cell -> Do a Ctrl + A, then you can use Ctrl + / in Windows. It will add # to all your lines if not commented and remove the # if commented.
- To do for selected lines in the cell -> Select those lines, then you can use Ctrl + / in Windows. It will add # to all your lines if not commented and remove the # if commented.
Please let me know if this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2023 02:30 AM
@KVNARK . Hi,
If I understand correctly, you want to either comment or disable comment on your entire cell using a Shortcut.
If that's the case,
- To do for the whole cell -> Do a Ctrl + A, then you can use Ctrl + / in Windows. It will add # to all your lines if not commented and remove the # if commented.
- To do for selected lines in the cell -> Select those lines, then you can use Ctrl + / in Windows. It will add # to all your lines if not commented and remove the # if commented.
Please let me know if this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2023 02:50 AM
@Vigneshraja Palaniraj Thank you so much for the reply Vignesh. Finally I got it while doing some R&D. its the same. Thanks!

