PejmanNik / vscode-autoScroll

AutoScroll extension for VS Code
https://marketplace.visualstudio.com/items?itemName=pejmannikram.vscode-auto-scroll
MIT License
23 stars 6 forks source link

Not working, if the (Visual Studio Code) window is not selected/focused #31

Open nhwCoder opened 9 months ago

nhwCoder commented 9 months ago

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

PROPOSAL

Can you please implement it the same way as in Notepad++?

PejmanNik commented 9 months ago

I can't reproduce the same behavior

https://github.com/PejmanNik/vscode-autoScroll/assets/18081640/aca22753-cc8e-43c7-8f37-d4e1968aa28b

nhwCoder commented 9 months ago

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