Closed dprice closed 1 year ago
I noticed that the commenting was not correct for SQL queries. It would do the C# "\\" comments. This seems to work locally for me:
private static string GetCommentPrefix(TextEditor? textEditor) { return textEditor?.SyntaxHighlighting.Name switch { "DocumentDb" => "--", "DocumentDbSql" => "--", // <============================ _ => "//", }; }
I noticed that the commenting was not correct for SQL queries. It would do the C# "\\" comments. This seems to work locally for me: