i've recently switched from editplus to notepad++ ( i love this tool) ... one feature i used frequently in ep was the "reload document" function. i could reload a document manually -- i didn't have to switch focus away, and then back (this is kludgy). why would i want this? i monitor log files with the tool, and want to refresh the file view with a keystroke or toolbar button.
i see there's a reopen() function ... would this apply, or is that to re-open all files from recent sessions? is this feature enabled but i just can't find it? help would be appreciated.
thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Has any option been considered to add to Notepad++ for "Reload from disk"? When doing tail -f type of things on a log file, switching twice with alt+tab just is not good enough
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I really miss some form of 'Refresh current document(s)' too.
The dialog to tell you the underlying file has changed is OK but doesn't seem to appear as often as it should. I can't see any way of manually triggering the check.
When the docs do refresh it resets the cursor to the start of the doc as well which is really annoying when for just about every time I've needed to do this the only change is more lines added on the end.
Maybe it could check a few tens of characters either side of the current cursor pos in the new file and if they are substantially unchanged, don't reset the cursor?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
BTW - when the reload dialog does come up and you reload the document, after the dialog disappears it acts as though you are in the middle of a click-drag to select some text.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i've recently switched from editplus to notepad++ ( i love this tool) ... one feature i used frequently in ep was the "reload document" function. i could reload a document manually -- i didn't have to switch focus away, and then back (this is kludgy). why would i want this? i monitor log files with the tool, and want to refresh the file view with a keystroke or toolbar button.
i see there's a reopen() function ... would this apply, or is that to re-open all files from recent sessions? is this feature enabled but i just can't find it? help would be appreciated.
thanks!
Also you can create such simple NppExec's script:
NPP_OPEN $(FULL_CURRENT_PATH)
then create a menu item for it and assign a shortcut key to this menu item.
I'll consider it.
Don
Reg: Notepad++ tail plugin
You can use the Doc Monitor Plugin from NPP to get tail -f behavior
On the document to follow select
Plugins -> Document Montior -> Start Montior
and to stop monitoring do
Plugins -> Document Montior -> Stop Montior
Note: Doc monitor is part of the default plugins that ship with Notepad++
When I have a file updated open in npp, when the focus is on npp I get a dialog saying the file on disk has changed and do I want to reload it.
I think this may be what you want. I'm on WinXP Pro.
HTH, Mark
yeah, but that'd require switching focus
This reload current document feature with shortcut is very useful eg. when reading log-files.
I can't find any shortcut in Notepad++ for this?
Has any option been considered to add to Notepad++ for "Reload from disk"? When doing tail -f type of things on a log file, switching twice with alt+tab just is not good enough
Use the auto-updater plugin to reload your documents automatically while they change.
http://notepad-plus.sourceforge.net/uk/download.php
Don
To reload the current document manually you can use my reload button plugin.
You can download it from here: http://www.jhaefner.de/Download/ReloadButton.zip
You can set a shortcut (like F5, attention: also delete this shortcut from the default function, too) for that function with NPPs shortcut manager.
Wkr,
JOE
I really miss some form of 'Refresh current document(s)' too.
The dialog to tell you the underlying file has changed is OK but doesn't seem to appear as often as it should. I can't see any way of manually triggering the check.
When the docs do refresh it resets the cursor to the start of the doc as well which is really annoying when for just about every time I've needed to do this the only change is more lines added on the end.
Maybe it could check a few tens of characters either side of the current cursor pos in the new file and if they are substantially unchanged, don't reset the cursor?
BTW - when the reload dialog does come up and you reload the document, after the dialog disappears it acts as though you are in the middle of a click-drag to select some text.
yea, i experience that too.
@J. Häffner:
Could you provide some version information, is ANSI or Unicode and a 3-5 line description of your plugin, for inclusion in http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=Plugin_Central ? I couldn't find a page listing other stuff you might have, looks like the /Downloads folder is forbidden.
CChris