vscode-scope-bar icon indicating copy to clipboard operation
vscode-scope-bar copied to clipboard

Only works on 1 file when screen is split

Open Tunscopi opened this issue 5 years ago • 4 comments

Hello and thanks for this nice extension! Is it possible to enable this for both screens when the screen is split?

Tunscopi avatar Feb 19 '20 11:02 Tunscopi

Since all other information on status bar refered to the activated document, showing other files' information may being some confuse, I think it's not a good idea to do that.

amos402 avatar Feb 19 '20 15:02 amos402

Yes, poor word choice from me. I am referring to the active document. What I'd observed was that when I switch to the other document (other split screen) it still shows the last clicked method signature from the previous document/screen. I would think following through with the active document would be ideal

Tunscopi avatar Feb 21 '20 08:02 Tunscopi

It should be change to the active document as you said. If not, could you describe how to reproduce it?

amos402 avatar Feb 22 '20 02:02 amos402

Yea, this is weird. I have painstakingly tried to follow what's going on but failed so far. In summary, it seems like it works perfectly 90% of the time. I switch between the split screen files and click in methods and it displays the right method or function name.

Quite often though, it will do the ff:

  • When I have the same file open in both splits, will just continue showing a particular method name even if I click elsewhere in either file
  • With 2 splits, only update with 1 split
  • Completely not work on either.

I wonder if this is due to the size of the project I'm working on which is quite massive with thousands and thousands of files. Well, I hope to gather clearer info regarding the oddities and report back.

Tunscopi avatar Feb 22 '20 06:02 Tunscopi