I have been trying to sort/move editor tabs in a visual studio extension.
But I can’t find the right methods for it.
I can get the source code file names but couldn’t figure out the API methods how to move
the windows/tabs.
Can somebody give me a hint?
` DTE dte = Package.GetGlobalService(typeof(DTE)) as DTE;
foreach (Window w in dte.Windows)
{
if ( w.Document != null)
{
Console.WriteLine(w.Document.Name);
//store name/extension and sort/move tab window afterwards.
}
}
`
enter image description here
New contributor
Brod is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.