Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edit.ToggleBlockComment not working for Python files #7497

Closed
vsfeedback opened this issue Apr 12, 2023 · 1 comment
Closed

Edit.ToggleBlockComment not working for Python files #7497

vsfeedback opened this issue Apr 12, 2023 · 1 comment

Comments

@vsfeedback
Copy link

This issue has been moved from a ticket on Developer Community.


Hot Keys for toggling comments on or off is not working for Python files. To reproduce:

  • Create a python file (like test.py).
  • In python file just created type any word or sentence and press default key combo ctrl+k,ctrl+/ to comment the line out.
    An error is given "The key combination (Ctrl+k,Ctrl+/) is bound to command (Toggle Line Comment) which is not currently available."

If you do the same steps but create a cpp file instead it will work.


Original Comments

Feedback Bot on 3/28/2023, 08:03 PM:

(private comment, text removed)


Original Solutions

(no solutions)

@StellaHuang95
Copy link
Contributor

Hi there, you could use Ctrl+K+C/Ctrl+K+U to comment and uncomment code block for python. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants