Search code examples
notepad++

Refresh document in notepad++


I have a php script running which writes to a logfile. I opened the logfile in Notepad++ to see any new content. But i noticed that the content is only refreshing after Notepad++ looses the focus and receives the focus again.

Is there a way to refresh the page manually just like a page refresh with F5 on webbrowsers, or even better, automatically refresh?


Solution

  • EDIT on 2020-04-10: as per Eric Hirst's comment here below (thanks!) apparently now this feature is mapped out of the box to Ctrl + R.


    Yes, the Reload from Disk feature is built-in. By default it's not mapped to any keyboard shortcut, though, so you will have to do it yourself:

    Settings -> Shortcut mapper
    

    then choose Modify and map it to your favorite hotkey. Mine is usually mapped to Ctrl + R.

    Shortcut mapper