Issue
I am working in Spyder and was wondering if there is any way to comment out a whole block delimited by the common #%%
. Consider the example below:
#%% Block 1
for i in range(10):
print(i)
# (other stuff)
#%% Block 2
Is it possible to comment out everything inside the Block 1 by any keybind shortcut (I'm working on Windows)?
By the way, I'm aware I can select all the lines and use Ctrl + 4
or Ctrl + 1
equivalently. I also checked this document with no success.
Thanks in advance, and sorry if this have already been asked (couldn't find any useful post myself).
Solution
(Spyder maintainer here) Unfortunately this is not possible at the moment, sorry.
Answered By - Carlos Cordoba
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.