Block comment?

Micha
2009-07-20
2012-12-07
  • Micha
    Micha
    2009-07-20

    Hi,

    I have searched a shortcut to comment a Block.
    Make a selection over some lines, then use shortcut, and all lines becomes a comment (# for php) in first column.
    Also, another shortcut removes it. Only first collumn must be checked for it. If nor # there, nothing appends.
    Maybe is allrdy there and i didnt found?

    mfg
    micha

     
    • Hi micha,
      To comment or uncomment a selected block of text use <Ctrl+Alt+C> if available.
      Or select the lines of text then right-click, select 'Selected text' (ausgewählter Text) then click on sub-item 'Comment / Uncomment' (Kommentar aus ausgewähltem Text).

       
    • Micha
      Micha
      2009-07-20

      Hi Pierre,

      ty, thats it.
      But i have a problem with the shortcut, maybe u have an idea?
      Ctrl+alt+c opens my CCC (Catalyst Control Center) so i have deaktivated that keys in the CCC, but i will not work in dev-php :(

      Any Idea?

      mfg
      micha

       
      • > <Ctrl+Alt+C> doesn't work to comment / uncomment a block
        Ok - that's the shortcut. But, what about the other method?

        >> Or select the lines of text then right-click, then select 'Selected text'
        >> (ausgewählter Text) then click on sub-item 'Comment / Uncomment'
        >> (Kommentar aus ausgewähltem Text).

         
    • Micha
      Micha
      2009-07-21

      the other method works fine, only shortcut not.