Notepad++ lags for a second
-
When I open my .txt files in Notepad++ that are stored on a server (added to the system as a disk, for ex. O:),
I notice that Notepad++ always lags a little bit before popping up the window, although when I browse through files - no lagging.
Is there are way to turn some specific off in Notepad++ to avoid such lagging when you bring up the Notepad++ window on your screen?
Or there is not way around and it will always poll the ‘server’ (FTP)?
I think disabling any polling of the text files location when you popup Notepad++ would work. Basically have it poll and connect to the text files location only when they’re saved (Save button is clicked).I appreciate your tips.
-
@richiehustle, I’m confused by your reference to drive
O:
which is a file share path andftp
. Are you accessing the files using a file share or FTP?Do you get the lag if you open a .txt file on O: using Microsoft Notepad?
Within Notepad++, I would start by disabling all Notepad++ plugins to see if the lag still exists.
How large are the files? Notepad++ will lag when opening huge files when it’s doing the parsing and color coding but there should be little parsing needed for .txt files.
-
This post is deleted! -
@Shadow-Fight said in Notepad++ lags for a second:
Notepad++ typically doesn’t continuously poll or connect to file locations unless explicitly configured to do so, especially if the files are stored locally on your computer.
Actually, watching for changes in open files is something that is Enabled by default. And the original poster specifically said it was a mapped network disk, not “files stored locally”. Please try to actually reply to the question asked, and to not spread disinformation.
-
@PeterJones AI generated?
-
That’s a reasonable conclusion from the posting data so far… but unlike some AI posts, there isn’t enough proof yet, and it’s not only nonsense (some of their paragraphs actually could be potential culprits), so I won’t ban them outright (until there’s more evidence) – because being wrong isn’t sufficient cause for banning (good thing, with the number of times I’ve been wrong here, or misread or differently-interpreted the original question)
-
@PeterJones ,
Looks AI to me and reason for the anti-AI ban. :-)
This is the response from chatgpt for just the first few lines of the question above of the OP:When I open my .txt files in Notepad++ that are stored on a server (added to the system as a disk, for ex. O:), I notice that Notepad++ always lags a little bit before popping up the window, although when I browse through files - no lagging. ChatGPT The lag you're experiencing when opening .txt files in Notepad++ that are stored on a server drive (like O:) could be due to several reasons related to network latency and file access times. Here are some potential reasons and solutions to mitigate the lag: Network Latency: If the server (where the O: drive is mapped) has high latency or slow network speed, it can delay the retrieval of file information when Notepad++ tries to open a file. This delay might not be noticeable when browsing files because only file metadata is fetched initially. Solution: Check the network connection speed between your computer and the server. If possible, test the speed using other file transfer methods or utilities to see if the latency is consistent. File Indexing: Notepad++ may be trying to index the file or gather additional information (like file size, last modified date) when opening a file, especially if it's a large .txt file or if there are many files in the directory. Solution: Consider organizing your files into folders or reducing the number of files in a single directory if possible. This can help Notepad++ retrieve file information more quickly. Antivirus or Security Software: Sometimes, antivirus or security software can scan files when they are accessed, causing a delay in opening files from network drives. Solution: Temporarily disable antivirus or security software to see if it affects the opening speed in Notepad++. If it does, adjust the settings or exclusions to avoid scanning .txt files unnecessarily. Notepad++ Settings: Check if there are any specific settings in Notepad++ that might affect file opening times, such as plugins or settings related to network drives. Solution: Review the settings in Notepad++ under Preferences (Settings > Preferences) to see if there are any options related to network or remote drive access that could be adjusted. Server Configuration: If you have control over the server configuration, consider optimizing the network settings or file system settings (like caching or network protocols) to improve file access times. Local Caching: Some network drive configurations or software can cache files locally to improve access times for frequently accessed files. Solution: Check if there's an option to enable caching for the O: drive or configure caching settings to improve performance. By investigating these potential causes, you should be able to identify and alleviate the lag you're experiencing when opening .txt files in Notepad++ from a server drive.
-
@Lycan-Thrope said in Notepad++ lags for a second:
This is the response from chatgpt for just the first few lines of the question above of the OP:
Thanks for the confirmation. Situation has been resolved (as you can tell from the missing post)
Sorry about the junk.