代码之家  ›  专栏  ›  技术社区  ›  Jeffrey

强制解决方案资源管理器在Visual Studio 2005的编辑器中选择文件

  •  44
  • Jeffrey  · 技术社区  · 16 年前

    在Visual Studio 2005中,每当我在主编辑器中查看文件时,解决方案资源管理器都会找到并突出显示该文件。一段时间前,这停止了工作,解决方案资源管理器什么也不做。

    这已经变得相当痛苦,因为遵循一系列的“去定义”可以引导你的解决方案。重新打开的设置在哪里?

    6 回复  |  直到 9 年前
        1
  •  64
  •   Nathan    10 年前

        2
  •  34
  •   jezrael    9 年前

    here

    Imports System
    Imports EnvDTE
    Imports EnvDTE80
    Imports EnvDTE90
    Imports System.Diagnostics
    
    Public Module SyncItem
    
        Sub SyncSolutionExplorer()
            DTE.ExecuteCommand("View.TrackActivityinSolutionExplorer")
            DTE.ExecuteCommand("View.TrackActivityinSolutionExplorer")
        End Sub
    
    End Module
    

    1. Edit.LineTranspose
        3
  •  16
  •   Sub-Star    15 年前
        4
  •  13
  •   Sir Rippov the Maple    16 年前
        5
  •  3
  •   brendan    16 年前

        6
  •  2
  •   rob    13 年前