Community
    • Login

    Force closing file without update

    Scheduled Pinned Locked Moved General Discussion
    4 Posts 3 Posters 2.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Nikita SourineN
      Nikita Sourine
      last edited by

      If I open file, that continuously gets updated by another service, I cannot close it. Notepad++ asks to update and that goes on and on. Even if I kill task, it reopens files and doesnt allow me to close that file, cannot switch to other files, becomes useless until other service stops.

      1 Reply Last reply Reply Quote 0
      • cipher-1024C
        cipher-1024
        last edited by

        Can’t you just say “No” when it says “This file has been modified by another program. Do you want to reload it?” and then close it?

        Maybe you’re experiencing something I haven’t because of the rapid updates being performed on the file, but I’ve never had a problem like what you’re describing.

        Also, if you’re monitoring a file you may want to check out View->Monitoring (tail -f) in the menu bar. It just updates the file in NPP and doesn’t ask if you want to update it.

        1 Reply Last reply Reply Quote 0
        • Nikita SourineN
          Nikita Sourine
          last edited by

          I click “No” and when i try to close it - it prompts again.

          1 Reply Last reply Reply Quote 0
          • Jim DaileyJ
            Jim Dailey
            last edited by

            @Nikita-Sourine

            Exactly what one would expect if an external entity is “continuously” updating the file. In fact, the same thing should happen if you also click “Yes”!

            Once you have the service stopped, try looking into Settings->Preferences->Misc. If you uncheck Enable in the File Status Auto-Detection box, that might fix your issue (not entirely sure, plus I use an older program version and your UI may not match mine).

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors