logic: vs focus
Setting cursor in VS via Coati now sets the focus to the VS window.
This commit is contained in:
Binary file not shown.
@@ -130,6 +130,7 @@
|
||||
<Compile Include="CoatiPluginPackage.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="PkgCmdID.cs" />
|
||||
<Compile Include="SystemUtility.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Resources.resx">
|
||||
|
||||
@@ -88,6 +88,8 @@ namespace SnowForest.CoatiPlugin
|
||||
if (FileUtility.OpenSourceFile(dte, cursorPosition.FilePath))
|
||||
{
|
||||
FileUtility.GoToLine(dte, cursorPosition.LineNumber, cursorPosition.ColumnNumber);
|
||||
|
||||
SystemUtility.GetWindowFocus();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user