• Login
Community
  • Login

Conditional read of fileshares

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
2 Posts 2 Posters 175 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.
  • R
    Roland Bengtsson
    last edited by Dec 9, 2020, 6:07 AM

    Maybe this is more like a feature request. But not sure where I should post this.
    Problem is this:

    I use VPN to connect to my employers site and load some files in NP++ from fileshare.
    End the day and shut down. Next day I open NP++ without VPN active.
    NP++ will try read files from fileshare but it will of course fail with no VPN.

    My suggested solution:
    Add a condition so file will only be read when tab is active instead of read files from all tabs on startup.

    Regards
    Roland Bengtsson

    P 1 Reply Last reply Dec 9, 2020, 1:58 PM Reply Quote 0
    • P
      PeterJones @Roland Bengtsson
      last edited by Dec 9, 2020, 1:58 PM

      @Roland-Bengtsson ,

      There is a checkbox in the preferences which determines whether or not you want Notepad++ to check for the existence of files from the MRU (Most Recently Used list) at launch time. Unfortunately for you, that does not apply to open tabs.

      Basically, Notepad++ always wants to load the bytes from the file for any tabs open in the current session. Doing “just in time” reading of the file (when that tab is activated) would likely require a significant rewrite of the codebase… but I could be wrong. If you go into the FAQ section of this forum, you’ll see a post “FAQ Desk: Feature Request or Bug Report”, which will explain where and how to make a feature request. If you submit a feature request, understand that it might not be implemented. If you submit a feature request for this idea, it would be considered polite to grab a link to that request and put it in this topic, so future readers of this topic can track what happened to that request.

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