Not working, if the (Visual Studio Code) window is not selected/focused
Opened this issue · 2 comments
PROBLEM
The autoscroll feature is NOT working if the (Visual Studio Code) window is not selected/focused on a local opened file in Windows11 (latest release 2024.01.04).
Even if the file to watch/observe in VSC was trusted (not opened in Restricted Mode) and the directory of the file was added to "Trusted Folders & Workspaces.
But exactly such a behavior is crucial/needed when looking at *.log files.
SOLUTION/WORKAROUND
- Open same file in Notepad++
- Click in menu on symbol "Watch (tail -f)"
- RESULT: Working in Notepad++ perfectly!
PROPOSAL
Can you please implement it the same way as in Notepad++?
I can't reproduce the same behavior
issue.31.mp4
Hi Nik
I guess it is related to the way how the data is written into the file (e.g. *.log) in the background.
In my case (other like you show in your video) this *.log file is not opened in any window, but a program is (silently) writing some data into it in the background
Do you have such a test-case like this to verify?
PS: My concrete situation
- MS OneNote and add-in OneMore (www.onemoreaddin.com), which writes in background into a log file C:\Users<username>\AppData\Local\Temp\OneMore.log
- This file was correct updated/refreshed in
Notepad++
but not in yourvscode-AutoScroll
.