pythonvisual-studioptvs

Shortcut to comment out multiple lines with Python Tools for Visual Studio


What is the shortcut to comment out multiple lines with Python Tools for Visual Studio?


Solution

  • CTRL+K then CTRL+C adds the # in VS for selected lines.

    CTRL+K then CTRL+U removes the # in VS for selected lines.