Skip to content

Commit

Permalink
Merge pull request #826 from vikukush/patch-1
Browse files Browse the repository at this point in the history
Add a main menu link to search syntax wiki
  • Loading branch information
KirillOsenkov authored Oct 17, 2024
2 parents 6696f9f + d1a9e7f commit f2a09c4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/StructuredLogViewer/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
<MenuItem Header="E_xit" Click="Exit_Click" InputGestureText="Alt+F4" />
</MenuItem>
<MenuItem Header="_Help">
<MenuItem Header="Search Syntax" Click="HelpLink3_Click" />
<MenuItem Header="https://github.com/KirillOsenkov/MSBuildStructuredLog" Click="HelpLink_Click" />
<MenuItem Header="https://msbuildlog.com" Click="HelpLink2_Click" />
<Separator />
Expand Down
5 changes: 5 additions & 0 deletions src/StructuredLogViewer/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1102,6 +1102,11 @@ private void HelpLink2_Click(object sender, RoutedEventArgs e)
Process.Start(new ProcessStartInfo("https://msbuildlog.com") { UseShellExecute = true });
}

private void HelpLink3_Click(object sender, RoutedEventArgs e)
{
Process.Start(new ProcessStartInfo("https://github.com/KirillOsenkov/MSBuildStructuredLog/wiki/Search-Syntax") { UseShellExecute = true });
}

private void HelpAbout_Click(object sender, RoutedEventArgs e)
{
MessageBox.Show(VersionMessage);
Expand Down

0 comments on commit f2a09c4

Please sign in to comment.