vbscript comment code as single line not multiple line

10,753

Not possible with Visual Studio.

Share:
10,753
live-love
Author by

live-love

Updated on June 04, 2022

Comments

  • live-love
    live-love almost 2 years
    <SCRIPT language="VBScript" RUNAT="Server">
        function f
            Dim rs
            Dim str
            Dim arr
        end function
    </SCRIPT>
    

    If I highlight the function, then click on Comment out selected lines button, or press Ctrl+K, Ctrl+C, it comments the function as HTML, like this:

    <SCRIPT language="VBScript" RUNAT="Server">
    <!--    function f
            Dim rs
            Dim str
            Dim arr
        end function-->
    </SCRIPT>
    

    How can I get it to comment it with quotes like this:

    <SCRIPT language="VBScript" RUNAT="Server">
        'function f
        '    Dim rs
        '   Dim str
        '    Dim arr
        'end function
    </SCRIPT>
    
  • Cheran Shunmugavel
    Cheran Shunmugavel over 11 years
    How does this help for Classic ASP?
  • polin
    polin over 11 years
    Look, the question is irrelevant. So my question may seem to you more irrelevant. The question was unanswered before. I am just trying to answer the unanswered questions. That's it. There is nothing to vote something down unless you read the whole thing
  • shellscape
    shellscape about 11 years
    vbscript is not vb.net, and the OP points out pretty clearly that the question pertains vbscript. a downvote is warranted - the answer does not address the question.