Make Notepad++ editor for AstroGrep

For anyone still using AstroGrep, a great GUI GREP Utility for Windows, here is how you set Notepad++ as the default editor. If you are still using AstroGrep you may be too lazy to look up the command line switches for Notepad++,  so here you are: copy and paste:

  1. Launch AstroGrep.
  2. Select Options from the Tools menu.
  3. In the Options dialog that appears select the Text Editors tab.
  4. Add a new entry or edit an existing entry and use the following info
  5. For File type, enter the file types you wish to open in Notepad++ – I use an asterisk (*) to open all files.
  6. Type the path or browse for the path to Notepad++ in the Text Editor Location entry.
  7. In the command line enter this:
    -n%2 -c%3 %1

It should look like this:

AstroGrep Text Editor Dialog

Setting AstroGrep to use Notepad++ as the Text Editor

Now when you double click on a line in the bottom pane it will open the file in Notepad++ and your cursor will appear on the exact line and column which you clicked.

Be Sociable, Share!
You can leave a response, or trackback from your own site.

4 Responses to “Make Notepad++ editor for AstroGrep”

  1. M says:

    This is the exact tip I was looking for. Unfortunately, it doesn’t work on the newest versions of both. AstroGrep 4.2.3/Notepad++ 6.0

    • etdot says:

      Hi M,
      This does work for me in Notepad++ 6.0 and AstroGrep 4.2.3 on Windows 7 (64 bit). One thing to note is that if you double click in the top pane of results area of AstroGrep (on the filename/path) it will open the file in Notepad++ at line 1 column 1. Be sure to double click on the line in the bottom pane of results. When clicking here it will open the file to the exact line.

  2. M says:

    Perfect! That does the trick. If the text I was searching for had returned multiple lines, I probably would have thought of that. Thank you.

  3. Ardi says:

    Thank You so much for this tip :)

Leave a Reply