Mass Commenting in files

Describe your feature request
Being able to select a block of text and comment all of it out! (Similar to the sting “wrapping” feature)

What problem(s) would this feature solve?
None, I just think this would be a QOL inprovement

Explain what you were trying to do when you came across the problem leading to this feature request
Commenting out some python code.

Why dont you just use """ for it? For example

"""
This is effectively a multiline comment
text
some more text
"""
1 Like

I know, but this issue is more for the general case, not just for python.

In short, the python thing was just a “filler” :slight_smile:

1 Like

All major languges have multi-line comments or work around like Python.

1 Like

:triumph:

Basically, I just want this:

#x = 0
#for i in range(16):
#	print(f"Hi, number ${i}! \"x\" is currently ${x}")
#	x = x % 4
1 Like

I understand. But I do not get why you don’t want to use mutli line comments

1 Like

Select the code you want to comment and press ctrl /

3 Likes

This is already possible, as @QwertyQwerty54 said.

Select the code you want to comment, and press Ctrl and /

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.