Menu

Go to line # command line option

2004-11-04
2012-11-13
  • Nobody/Anonymous

    I'd like to open a file at a specific line number so I wish a command line option just like the "Go to line..." command that is already available from Search menu. Can someone help me???

     
    • Nobody/Anonymous

      I think this has been in there the last couple of years.

      Notepad++ [-multiInst] [-lLanguage] [-nLineNumber] [fullFilePathName]

      notepad++ -n150 E:\notepad++\PowerEditor\src\Notepad_plus.cpp

      It's in the FAQ on the website.  The latest versions have direct links to the online help.

       
    • Nobody/Anonymous

      I really need this feature too!
      Without this it seems impossible to me integrating Npp into other development suite.

       
      • Don HO

        Don HO - 2005-05-08

        ok, I'll do it.
        But I don't promise this feature will come up with v3.0

        Don

         
        • juan abba

          juan abba - 2007-08-17

          I am having same need as requested below, almost 3 years ago.
          I cant find if function is already implemented.
          Can you please help????

          thanks in advance
          juan abba

          Go to line # command line option
          By: Nobody/Anonymous (nobody) - 2004-11-04 07:01
          I'd like to open a file at a specific line number so I wish a command line option just like the "Go to line..." command that is already available from Search menu. Can someone help me???