Description
Description:
I would like to suggest adding a convenient "Comment out / Uncomment" feature in Azure Data Studio, both as a context menu entry (right-click on selected code) and as a toolbar button.
Current Situation:
Currently, users must rely on keyboard shortcuts to comment or uncomment lines of SQL or code, which may not be intuitive or accessible for all users – especially those coming from other environments like SSMS or Visual Studio, where these functions are more visibly integrated.
Feature Request Details:
Context menu option when right-clicking on selected lines of code:
Comment out (adds -- or /* */ as appropriate)
Uncomment (removes comment characters if present)
Optional toolbar button or icon in the editor window for quick access
Should support both single-line (--) and multi-line (/* ... */) commenting for SQL scripts
Ideal if configurable for other languages (like Python, PowerShell) within notebooks or integrated terminals
Benefits:
Improves usability and accessibility
Enhances productivity for users who prefer or rely on mouse navigation
Aligns with user expectations from other Microsoft development tools
Additional Notes:
This small enhancement would make code editing in Azure Data Studio even more intuitive and user-friendly, especially for new users or those migrating from SSMS.