No editor functionality in Azure Data Studio

David Bean 41 Reputation points
2022-09-02T21:21:43.64+00:00

I've just started using Azure Data Studio, and I'm surprised that very basic functionality seems to be missing. For example - I don't think I've ever seen another SQL editing tool (or any code editing tool, for that matter), that lacks the ability to highlight and comment out a group of lines. Is this still a work in progress? If so, when is it expected to be complete? Or is all the standard editing functionality there somewhere, and I just can't find it? I've tried searching for documentation, and I've come up empty.

Also, in entering the required tags below, Azure Data Studio isn't even listed there - I selected the closest thing I could find.

Azure SQL Database
{count} vote

Accepted answer
  1. Dan Guzman 9,401 Reputation points
    2022-09-03T10:41:37.907+00:00

    For example - I don't think I've ever seen another SQL editing tool (or any code editing tool, for that matter), that lacks the ability to highlight and comment out a group of lines

    ADS does have this query window editor feature and many others as well. These are available from the command pallet and keyboard shortcuts for quick usage.

    To comment out selected lines of T-SQL in a query window:

    • Click the View-->Command Palette from the main menu (or press CTRL+SHIFT+P) and begin typing "comment" to list editor commands related to comments
    • Click the Toggle Line Comment command

    Note the keyboard shortcut, CTRL+/, is listed next to the command item so you can use that instead for quick usage going forward.

    237390-ads-comment-commands.png

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.