Why is Notepad++ so slow when dealing with files stored on a network share?

24

6

Recently Notepad++ seems to be very slow when dealing with files that are located on a network share.

I am editing small files (e.g. web.config) and it is slow to:

  • Initially open a file on a network share.
  • Switch tabs back to a file on a network share.
  • Switch back to notepad++ after using another application.

My guess is when switching tabs back to a network file it tries to check if someone else has modified the file (I could live with turning this off and it could check on save).

I am on a "fast" local network and have only noticed this problem recently.

My local PC is Windows 7 Enterprise and the servers are Windows Server 2003 and 2008.

row1

Posted 2012-01-12T07:11:16.873

Reputation: 345

Was this ever figured out? I still have this issue and it is maddening since most of my work is done on files remotely – Will P. – 2015-04-27T16:33:56.443

Using the solution provided by @Lex worked perfectly for me. Kinda upsetting though cause I do like that feature. – Rob – 2016-11-09T16:23:44.673

Answers

22

I ran into this exact issue. After asking around and doing some experimentation it seems to be related to Notepad++'s "File Status Auto-Detection" routines. I noticed that the more files from network shares that I had open the slower the UI would be to respond when receiving focus. I resolved this by disabling "File Status Auto-Detection". Perhaps not an optimal solution for all environments. Now I just wish there were a one button or keyboard shortcut option to check to see if the file has been changed since it was opened.

Lex

Posted 2012-01-12T07:11:16.873

Reputation: 321

Settings \ Preferences, then the MISC tab and uncheck Enable under File Status Auto-detection. – Mangs – 2018-04-18T15:53:21.687

I have also had "File Status Auto-Detection" disabled for a while, and it doesn't help much at all. – Jesse Busman – 2018-04-26T14:38:06.040

6I have actually had this option disabled for a while now and it still exhibits the problem. – row1 – 2012-04-26T04:19:01.213

7The third entry down in the File menu is "Reload from Disk". Under Settings > Shortcut Mapper, you can bind that command to a keyboard shortcut. I set mine to Ctrl - R so it duplicates the Refresh functionality I'm used to in web browsers. – Bobwise – 2012-11-16T22:07:14.593