Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c4c5358

Browse filesBrowse files
committed
Added exception for missing XML comments, removed gif app and added textbox in ribbon for zero string replacement
1 parent e67466c commit c4c5358
Copy full SHA for c4c5358

File tree

Expand file treeCollapse file tree

6 files changed

+42
-15
lines changed
Filter options
Expand file treeCollapse file tree

6 files changed

+42
-15
lines changed

‎CS/.editorconfig

Copy file name to clipboard
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[*.cs]
2+
3+
# CS1591: Missing XML comment for publicly visible type or member
4+
dotnet_diagnostic.CS1591.severity = none

‎CS/Resources/ScreenToGif.exe

Copy file name to clipboard
-1.79 MB
Binary file not shown.

‎CS/Ribbon.xml

Copy file name to clipboardExpand all lines: CS/Ribbon.xml
+21-10Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -175,17 +175,28 @@
175175
supertip="This feature removes all nonprintable characters from text and trims leading and trailing spaces."
176176
keytip="CLE"
177177
/>
178-
<button
179-
id="btnZeroToNull"
180-
label="Update to NULL"
181-
onAction="OnAction"
182-
getEnabled="GetEnabled"
183-
imageMso="RecordsRefreshRecords"
184-
size="normal"
185-
screentip="Convert to NULL"
186-
supertip="Replaces the zero string values with 'NULL'"
187-
keytip="NUL"
178+
179+
<box id="boxBlankValues" boxStyle="horizontal">
180+
<button
181+
id="btnZeroToNull"
182+
label="Update Blanks"
183+
onAction="OnAction"
184+
getEnabled="GetEnabled"
185+
imageMso="RecordsRefreshRecords"
186+
screentip="Update blank values"
187+
supertip="Replaces the zero string values"
188+
keytip="NUL"
188189
/>
190+
<editBox
191+
id="txtBlankValuesReplacement"
192+
label=" "
193+
getText="GetText"
194+
onChange="OnChange"
195+
sizeString= "XXXXXX"
196+
screentip="Blank Values Replacement"
197+
supertip="This value will replace the zero string values in the table"
198+
/>
199+
</box>
189200
<button
190201
id="btnClearInteriorColor"
191202
label="Clear Interior Color"

‎CS/ScriptHelp.csproj

Copy file name to clipboardExpand all lines: CS/ScriptHelp.csproj
+2-3Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@
113113
<DocumentationFile>bin\Debug\ScriptHelp.xml</DocumentationFile>
114114
<RunCodeAnalysis>true</RunCodeAnalysis>
115115
<Prefer32Bit>false</Prefer32Bit>
116+
<NoWarn>1591</NoWarn>
116117
</PropertyGroup>
117118
<!--
118119
This section defines properties that are set when the "Release" configuration is selected.
@@ -258,6 +259,7 @@
258259
<EmbeddedResource Include="TaskPane\TableData.resx">
259260
<DependentUpon>TableData.cs</DependentUpon>
260261
</EmbeddedResource>
262+
<None Include=".editorconfig" />
261263
<None Include="AnthonyDuguid.pfx" />
262264
<None Include="packages.config" />
263265
<None Include="Resources\ScriptTypeTSql.png" />
@@ -272,9 +274,6 @@
272274
<None Include="Resources\SaveCode.png" />
273275
<None Include="Resources\SaveVersion.png" />
274276
<None Include="Resources\camera.png" />
275-
<Content Include="Resources\ScreenToGif.exe">
276-
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
277-
</Content>
278277
<None Include="Resources\ScriptTypeMarkdown.png" />
279278
<None Include="Resources\ScriptTypeMarkup.png" />
280279
<Content Include="sqlceca35.dll">

‎CS/ScriptHelp.sln

Copy file name to clipboardExpand all lines: CS/ScriptHelp.sln
+10-2Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio 14
4-
VisualStudioVersion = 14.0.24720.0
3+
# Visual Studio Version 16
4+
VisualStudioVersion = 16.0.30320.27
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ScriptHelp", "ScriptHelp.csproj", "{2D2477A6-DC2F-4D3E-AE1B-8392C7AB56E4}"
77
EndProject
8+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{1F66CFCD-87EC-41DC-A5AF-CAD232010A15}"
9+
ProjectSection(SolutionItems) = preProject
10+
.editorconfig = .editorconfig
11+
EndProjectSection
12+
EndProject
813
Global
914
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1015
Debug|Any CPU = Debug|Any CPU
@@ -19,4 +24,7 @@ Global
1924
GlobalSection(SolutionProperties) = preSolution
2025
HideSolutionNode = FALSE
2126
EndGlobalSection
27+
GlobalSection(ExtensibilityGlobals) = postSolution
28+
SolutionGuid = {9EB2C0FB-C404-4A05-ABE0-C48B56139645}
29+
EndGlobalSection
2230
EndGlobal

‎CS/Scripts/Ribbon.cs

Copy file name to clipboardExpand all lines: CS/Scripts/Ribbon.cs
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,8 @@ public string GetText(Office.IRibbonControl control)
364364
return Properties.Settings.Default.Table_ColumnTableAlias;
365365
case "txtColumnSeparateValuesDelimiter":
366366
return Properties.Settings.Default.Table_ColumnSeparateValuesDelimiter.ToString();
367+
case "txtBlankValuesReplacement":
368+
return Properties.Settings.Default.Table_ColumnScriptNull;
367369
default:
368370
return string.Empty;
369371
}
@@ -689,6 +691,9 @@ public void OnChange(Office.IRibbonControl control, string text)
689691
case "txtColumnSeparateValuesDelimiter":
690692
Properties.Settings.Default.Table_ColumnSeparateValuesDelimiter = Convert.ToChar(text);
691693
break;
694+
case "txtBlankValuesReplacement":
695+
Properties.Settings.Default.Table_ColumnScriptNull = text;
696+
break;
692697
}
693698
}
694699
catch (Exception ex)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.