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

fix: only change active text editor #9

Closed BoYanZh closed 6 months ago

BoYanZh commented 4 years ago

when opening multiple panels at the same time, it is not rational to change the auto scroll status of them all

PejmanNik commented 4 years ago

Hi, Thank you for contributing. There is an option for this in the extension. Please see this issue: #5

BoYanZh commented 4 years ago

Hi, I have also noticed that option. But things behave a little different from my expectation. For example, I open a .py file in the left panel and a .log file in the right panel. Both of them are visible. And by default the .log file can be auto scrolled, while the .py file can not. However if I change the focus from the .log file to the .py file, according to the origin logic, both of the visible files (.log file and .py file) will become auto scrolled. Maybe it is kind to add another option to control active-file-wise and visible-file-wise auto scroll?

PejmanNik commented 4 years ago

I see. Great idea. I agree with you. Do you need any help with that idea?

BoYanZh commented 4 years ago

I think I need some help. I am a little busy for now :(

PejmanNik commented 4 years ago

Ok, Please let me know how I can help 😁

BoYanZh commented 4 years ago

Could you please give me some idea about how to let the user toggle active-file-wise and visible-file-wise auto scroll? I am not sure what to add.

PejmanNik commented 4 years ago

I think it can be in the setting. look how the autoScrollAllOpenedFiles option works.