Skip to content

Commit de7d30c

Browse files
authored
Merge pull request #7 from IvoKrugers/develop
Button at the bottom Move Addin info to manifest
2 parents 628e507 + 08137e3 commit de7d30c

File tree

5 files changed

+39
-25
lines changed

5 files changed

+39
-25
lines changed

VisualStudioMac.SolutionTreeFilter/Constants.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
{
33
public static class Constants
44
{
5-
internal const string Version = "17.3.1";
65
internal const string SolutionFilterPadId = "VisualStudioMac.SolutionTreeFilter.Gui.FilterPad";
76
}
87
}

VisualStudioMac.SolutionTreeFilter/Gui/FilterPadWidget.UI.cs

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,16 +102,16 @@ protected virtual void Build()
102102
ExpandHorizontal = true,
103103
HorizontalPlacement = WidgetPlacement.Fill,
104104
VerticalPlacement = WidgetPlacement.Center,
105-
MarginLeft = 8,
106-
MarginRight = 8,
105+
MarginLeft = 2,
106+
MarginRight = 2,
107107
MultiLine = false,
108108
PlaceholderText = ""
109109
};
110110

111111
applyButton = new Button(ImageService.GetIcon("gtk-refresh"))
112112
{
113113
TooltipText = "Apply the Project to expand",
114-
MarginLeft = 2,
114+
MarginLeft = 0,
115115
MarginRight = 6,
116116
ExpandHorizontal = false,
117117
HorizontalPlacement = WidgetPlacement.End,
@@ -120,10 +120,15 @@ protected virtual void Build()
120120
};
121121

122122
expandHBox.PackStart(expandLabel);
123+
expandHBox.PackStart(projectsEntry, true, true);
123124
expandHBox.PackEnd(applyButton);
124125

125126
// Expand projects section
126-
var buttonsHBox = new HBox();
127+
var buttonsHBox = new HBox()
128+
{
129+
MarginBottom = 6
130+
};
131+
127132
pinOpenDocumentsButton = new Button(ImageService.GetIcon(Stock.PinDown, Xwt.IconSize.Small), "Pin All Open Docs")
128133
{
129134
MarginLeft = 6,
@@ -156,9 +161,9 @@ protected virtual void Build()
156161
var mainVBox = new VBox();
157162
mainVBox.PackStart(filterHBox, false, false);
158163
mainVBox.PackStart(filterEntry, true, true);
159-
mainVBox.PackStart(buttonsHBox, false, false);
160164
mainVBox.PackStart(expandHBox, false, false);
161-
mainVBox.PackStart(projectsEntry, false, true);
165+
mainVBox.PackStart(buttonsHBox, false, false);
166+
//mainVBox.PackStart(projectsEntry, false, true);
162167

163168
// Force a height
164169
var mainFrame = new FrameBox(mainVBox) { MinHeight = 250 };

VisualStudioMac.SolutionTreeFilter/Properties/AddinInfo.cs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22
using Mono.Addins.Description;
33
using VisualStudioMac.SolutionTreeFilter;
44
using System.Runtime.Versioning;
5+
using System.Reflection;
56

6-
[assembly: Addin(
7-
"SolutionTreeFilter",
8-
Namespace = "VisualStudioMac",
9-
Version = Constants.Version,
10-
Category = "IDE extensions"
11-
)]
7+
//[assembly: Addin(
8+
// "SolutionTreeFilter",
9+
// Namespace = "VisualStudioMac",
10+
// Version = Constants.Version,
11+
// Category = "IDE extensions")]
1212

13-
[assembly: AddinName("SolutionTree Filter")]
14-
[assembly: AddinDescription("This extension adds a Pad which allows you to filter the solution tree by multiple search terms.\n\nby Ivo Krugers")]
15-
[assembly: AddinAuthor("Ivo Krugers")]
16-
[assembly: AddinUrl("https://github.com/IvoKrugers/VisualStudioMac.SolutionTreeFilter")]
13+
//[assembly: AddinName("SolutionTree Filter")]
14+
//[assembly: AddinDescription("This extension adds a Pad which allows you to filter the solution tree by multiple search terms.\n\nby Ivo Krugers")]
15+
//[assembly: AddinAuthor("Ivo Krugers")]
16+
//[assembly: AddinUrl("https://github.com/IvoKrugers/VisualStudioMac.SolutionTreeFilter")]
1717

1818
[assembly: AddinDependency("::MonoDevelop.Core", MonoDevelop.BuildInfo.Version)]
1919
[assembly: AddinDependency("::MonoDevelop.Ide", MonoDevelop.BuildInfo.Version)]

VisualStudioMac.SolutionTreeFilter/Properties/Manifest.addin.xml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<ExtensionModel>
2+
3+
<Addin name = "SolutionTree Filter"
4+
id = "SolutionTreeFilter"
5+
namespace = "VisualStudioMac"
6+
author = "Ivo Krugers"
7+
copyright = "MIT X11"
8+
url = "https://github.com/IvoKrugers/VisualStudioMac.SolutionTreeFilter"
9+
description = "This extension adds a Pad which allows you to filter the solution tree by multiple search terms.\n\nby Ivo Krugers"
10+
category = "IDE extensions"
11+
version = "17.3.3">
12+
313
<Runtime>
414
<Import assembly="VisualStudioMac.SolutionTreeFilter.dll" />
515
</Runtime>
@@ -71,4 +81,4 @@
7181
</Condition>-->
7282
</Extension>
7383

74-
</ExtensionModel>
84+
</Addin>

pack.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ mono /Applications/Visual\ Studio.app/Contents/Resources/lib/monodevelop/bin/vst
1616
# Uninstall
1717
/Applications/Visual\ Studio\ \(Preview\).app/Contents/MacOS/vstool setup uninstall VisualStudioMac.SolutionTreeFilter -y
1818

19-
# Install
20-
for filename in *.mpack;
21-
do
22-
echo "$filename"
23-
/Applications/Visual\ Studio\ \(Preview\).app/Contents/MacOS/vstool setup install "$PROJECTFOLDER/$filename" -y
24-
done
19+
# # Install
20+
# for filename in *.mpack;
21+
# do
22+
# echo "$filename"
23+
# /Applications/Visual\ Studio\ \(Preview\).app/Contents/MacOS/vstool setup install "$PROJECTFOLDER/$filename" -y
24+
# done

0 commit comments

Comments
 (0)