Menu

Bug Report: "block comment in perl not work"

Zhang Peng
2007-05-12
2012-11-13
  • Zhang Peng

    Zhang Peng - 2007-05-12

        Here is a bug report about npp 4.1 on Windows 2000.
        When I was editing perl file in npp, I selected several lines of the text, and then right click to choose "block as comment"(I have a Chinese version installed, so this may not be the exact text it displays) in the popup menu, but it doesnot work.
       
        P.S: Although there is not block comment sytax(e.g. "/*block comment*/" in c/c++), I think it will also be very useful to automatically comment out user selected lines with a leading '#', just like what Eclipse does when user select multiple lines and press ctrl+'/'.

     
    • steakhacher

      steakhacher - 2007-05-12

      Hi

      Try to change in C:\Program Files\Notepad++\langs.xml
      <Language name="perl" ext="pl pm" commentLine="#"> to <Language name="perl" ext="pl pm" commentLine="#" commentStart="/*" commentEnd="*/">
      I have not tested but I think it is working