A> the function is to have editor wide flag to open new files in current tab, if it is not modified.
A> If it is modified, open new one.
This feature described in that link does NOT sounds good to me

1 - i think it is good to have the option to enable/disable such feature quickly by hand,
not behind several clicks deep in an menu. That's why i suggested to put this in the tab context menu.
But f.ex. "File > Re-Use tab" right under "Read-only" would also fit.
I don't want to use this feature every day. Only if i just need it. So i suggest an easy way to enable/disable it.
So the tab ctx menu would be logically for me for tab-own features. (Forget my "File"-menu suggestion, it's not an file-feature)
2 - i prefer tab-wise to have only one tab with that special feature,
because i doesn't want to re-use an tab with an document i still need open only if that tab
was by any change the current one, and later on i wonder where my file is which tab was re-used.
And for file managers it's tab-wise feature too.
And i doesn't need that for all open tabs.
I had to take always care to have the right tab the active one for the next file to open.
A> I do not think that it is necessary to mark such tabs. This is just different editors behavior.
Only if you would implement the case (2), then i would suggest an different back ground color or such to identify that special tab.
3 - the feature of VS works only if the current tab is not dirty.
But the opened document may be dirty, because i did some modifying before i copy an piece of text, but does not want to save this.
Or i add a few line breaks for better understanding. Or i press the space bar by accident.
So i had to close the tab at my own before i open next document, or i get an another tab. That's not what i imagine.
I always expect to re-use the same tab and not to open even more tabs.
I think point 2 and 3 are no-go's. Sorry, it's just my POV. It's how i think i would use this feature.
But you must know how much work this is to implement.
And i will gladly sleep over and rethink if the VS way will fit my needs too. (well - i does surly, but with bad side effects)
A> Why you need to lock NOT current tab?
What you mean please?
"Just the current, no matter which" as opposite to "chose an specific tab and use this only for every file"?
"lock NOT current tab" but "ONE specific only"?
If i guessed you right, then i have explain it just above. If not please clarify, thanks
