214

How can automatically reload modified files in Notepad++? The confirmation step is annoying, and is completely unnecessary in some situations.

284

You can disable the confirmation in the settings:

Settings -> Preferences -> MISC. -> Update silently

enter image description here

  • 65
    That's one badly named setting ... – sakra Dec 4 '12 at 12:57
  • 20
    Note that as of v6.3, "Update silently" only updates the file when its tab receives focus. Search functionality therefore accesses the old buffer and might show inaccurate results. – Timbo Mar 22 '13 at 0:30
  • 5
    I wish NotePad++ had a few more 'Yes all' buttons. – Franck Dernoncourt Jul 4 '14 at 20:37
  • 8
    Good heavens. The confirmations almost made me mad. Thanks! – Martin Vseticka Dec 10 '14 at 10:44
  • 6
    The "scroll to the last line after update" setting may also be helpful for log viewing scenarios. – Chris Marisic Aug 7 '15 at 19:24
78

There is a nice plugin called Document monitor (Can be found and installed from the Plugins => Plugin Manager => show Plugin Manager menu),

It updates the opened files every 3 seconds. Together with the option to "scroll to last line after update", it will have the ability to "tail" a log file as wanted.

After the plugin installation don't forget to activate it by clicking:

Plugins => Document monitor => start to monitor

  • 6
    +1 for for a great plugin. This is exactly what I need. Better than accepted answer. – Seidleroni Dec 16 '14 at 15:03
  • 7
    Now there is a monitoring function build into notepad++ since version 6.9.2 – Jon Dec 19 '16 at 22:46
  • 10
    To expand on @Jonathan727 and save everyone a click: "Click on "eye icon" on toolbar or use menu "View->Monitoring (tail -f)" to activate/disactivate this command". – Stefan van den Akker Jan 16 '17 at 15:36
  • 2
    should be the accepted answer... – Mathias Feb 7 '17 at 14:27
  • @Mathias : not without the link to the referred plugin. – Sopalajo de Arrierez Oct 20 '17 at 0:40
9

Both of the above commands are not working properly.

There is a command in the File menu, 'Reload from disk' which works perfectly.

I have made a shortcut Alt + R which makes it very handy. Yet, not automatic though.

  • 1
    Does not answer the question. The asker is looking for a way to suppress the dialog that asks if you want to reload and do this automatically. – R-D Jan 31 '14 at 8:27
  • @Roald van Doorn: The answer to the question is that there is no solution YET. Praveen gave the next-best solution that is possible NOW. – qedstar Dec 10 '15 at 13:04
8

For monitoring an individual log file, use the View > Monitoring (tail -f) option (thanks to https://superuser.com/a/1246651/17025).

This will keep the file up to date, and also keep the end of the file visible (which is not always exactly what you want); it also is a setting for each individual file rather than a global setting.

  • This answer is buried, but is by far the most correct solution. It uses a built-in feature, doesn't disable warnings for all other files, and doesn't require installation of a 3rd party plugin. Hopefully this gets more attention and votes! – Derek_6424246 Jun 24 at 15:23

protected by Mokubai Jul 5 '14 at 19:20

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.