Please feel free to provide feedback or file bugs here.

converting multiple lines of code to comment

Votes from Connect: 5

Original Date Submitted: 2/20/2015 2:01:32 PM

Description:

********Contact Information********
Handle: john.s2011n
Site Name: PowerShell
Feedback ID: 1139497
***************************************

Frequency: Always Happens
Regression: Yes, this happens in all previous versions

Problem Description:
in PS 4.0 and also previous versions, there is no option to easily convert multiple selected lines to comment block. so when we have selected multiple lines & we want to make them as comment, we have to insert comment block in another location on the pane, and then cut these multiple lines and paste them inside comment block which is a bit cumbersome.
but in other products like VBA2013, this option exist & there is a button on edit toolbar which converts multiple lines into comment, in place.

hope this be added in PS 5.0
thanks

Product Studio item created by Connect Synchronizer due to creation of feedback ID 1139497 (http://connect.microsoft.com/PowerShell/feedback/ViewFeedback.aspx?FeedbackID=1139497).

Repro Steps:
Expected Results:

Internal BugId: 13253

74 votes
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)

    We’ll send you updates on this idea

    Joey Aiello [MSFT]AdminJoey Aiello [MSFT] (Program Manager, Windows Server) shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    1 comment

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • David das NevesDavid das Neves commented  ·   ·  Flag as inappropriate

        Workaround:
        - Open Ise
        - set cursor to start of the first line which shall be commented
        - ALT + SHIFT + Down till you reach last line
        - write your comment block "###"

      Feedback and Knowledge Base