Skip to content

Commit

Permalink
Yet more VSCode suggestions and eliminate all BOMs
Browse files Browse the repository at this point in the history
  • Loading branch information
HebaruSan committed Oct 18, 2023
1 parent 5eae32b commit f786791
Show file tree
Hide file tree
Showing 447 changed files with 460 additions and 477 deletions.
4 changes: 2 additions & 2 deletions AutoUpdate/App.config
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
</configuration>
</configuration>
2 changes: 1 addition & 1 deletion AutoUpdate/CKAN-autoupdate.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project>
<Project>
<PropertyGroup>
<AssemblyName>CKAN-AutoUpdateHelper</AssemblyName>
<OutputPath>..\_build\out\$(AssemblyName)\$(Configuration)\bin\</OutputPath>
Expand Down
2 changes: 1 addition & 1 deletion AutoUpdate/Main.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Diagnostics;
using System.IO;
using System.Threading;
Expand Down
2 changes: 1 addition & 1 deletion AutoUpdate/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System.Resources;
using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;

Expand Down
2 changes: 1 addition & 1 deletion AutoUpdate/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion CKAN.sln
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@


Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30225.117
Expand Down
2 changes: 1 addition & 1 deletion Cmdline/Action/Compare.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using CKAN.Versioning;
using CKAN.Versioning;

namespace CKAN.CmdLine
{
Expand Down
2 changes: 1 addition & 1 deletion Cmdline/Action/ICommand.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace CKAN.CmdLine
namespace CKAN.CmdLine
{
public interface ICommand
{
Expand Down
2 changes: 1 addition & 1 deletion Cmdline/Action/ISubCommand.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace CKAN.CmdLine
namespace CKAN.CmdLine
{
internal interface ISubCommand
{
Expand Down
2 changes: 1 addition & 1 deletion Cmdline/CKAN-cmdline.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project>
<Project>
<PropertyGroup>
<AssemblyName>CKAN-CmdLine</AssemblyName>
<OutputPath>..\_build\out\$(AssemblyName)\$(Configuration)\bin\</OutputPath>
Expand Down
2 changes: 1 addition & 1 deletion Cmdline/ConsoleUser.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Linq;
using System.Text.RegularExpressions;
using log4net;
Expand Down
2 changes: 1 addition & 1 deletion Cmdline/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System.Resources;
using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;

Expand Down
2 changes: 1 addition & 1 deletion Cmdline/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ConsoleUI/CKAN-ConsoleUI.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project>
<Project>
<PropertyGroup>
<AssemblyName>CKAN-ConsoleUI</AssemblyName>
<OutputPath>..\_build\out\$(AssemblyName)\$(Configuration)\bin\</OutputPath>
Expand Down
2 changes: 1 addition & 1 deletion ConsoleUI/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;

namespace CKAN.ConsoleUI
{
Expand Down
2 changes: 1 addition & 1 deletion ConsoleUI/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System.Resources;
using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;

Expand Down
2 changes: 1 addition & 1 deletion ConsoleUI/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Core/CKAN-core.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project>
<Project>
<PropertyGroup>
<AssemblyName>CKAN</AssemblyName>
<OutputPath>..\_build\out\$(AssemblyName)\$(Configuration)\bin\</OutputPath>
Expand Down
2 changes: 1 addition & 1 deletion Core/Configuration/IConfiguration.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;

namespace CKAN.Configuration
Expand Down
2 changes: 1 addition & 1 deletion Core/Converters/JsonIgnoreBadUrlConverter.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using Newtonsoft.Json;
using log4net;

Expand Down
2 changes: 1 addition & 1 deletion Core/Exporters/BbCodeExporter.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System.IO;
using System.IO;
using System.Linq;

namespace CKAN.Exporters
Expand Down
2 changes: 1 addition & 1 deletion Core/Exporters/DelimeterSeparatedValueExporter.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.IO;
using System.Linq;

Expand Down
2 changes: 1 addition & 1 deletion Core/Exporters/Exporter.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.IO;
using CKAN.Types;

Expand Down
2 changes: 1 addition & 1 deletion Core/Exporters/IExporter.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System.IO;
using System.IO;

namespace CKAN.Exporters
{
Expand Down
2 changes: 1 addition & 1 deletion Core/Exporters/MarkdownExporter.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System.IO;
using System.IO;
using System.Linq;

namespace CKAN.Exporters
Expand Down
2 changes: 1 addition & 1 deletion Core/Exporters/PlainTextExporter.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System.IO;
using System.IO;
using System.Linq;

namespace CKAN.Exporters
Expand Down
2 changes: 1 addition & 1 deletion Core/Games/KerbalSpaceProgram/DLC/IDlcDetector.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using CKAN.Versioning;
using CKAN.Versioning;
using CKAN.Games;

namespace CKAN.DLC
Expand Down
2 changes: 1 addition & 1 deletion Core/Logging.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.IO;
using System.Reflection;
using System.Diagnostics;
Expand Down
2 changes: 1 addition & 1 deletion Core/Meta.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Linq;
using System.Reflection;

Expand Down
2 changes: 1 addition & 1 deletion Core/Net/AutoUpdate.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.IO;
using System.Diagnostics;
Expand Down
2 changes: 1 addition & 1 deletion Core/Platform.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Text.RegularExpressions;
Expand Down
2 changes: 1 addition & 1 deletion Core/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System.Resources;
using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;

Expand Down
2 changes: 1 addition & 1 deletion Core/Types/ExportFileType.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace CKAN.Types
namespace CKAN.Types
{
public enum ExportFileType
{
Expand Down
2 changes: 1 addition & 1 deletion Core/Types/GameComparator/BaseGameComparator.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using CKAN.Versioning;
using CKAN.Versioning;

namespace CKAN
{
Expand Down
2 changes: 1 addition & 1 deletion Core/Types/GameComparator/GrasGameComparator.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using CKAN.Versioning;
using CKAN.Versioning;

namespace CKAN
{
Expand Down
2 changes: 1 addition & 1 deletion Core/Types/GameComparator/IGameComparator.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using CKAN.Versioning;
using CKAN.Versioning;

namespace CKAN
{
Expand Down
2 changes: 1 addition & 1 deletion Core/Types/GameComparator/YoyoGameComparator.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using CKAN.Versioning;
using CKAN.Versioning;

namespace CKAN
{
Expand Down
2 changes: 1 addition & 1 deletion Core/Types/ReleaseStatus.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;

using Newtonsoft.Json;
Expand Down
2 changes: 1 addition & 1 deletion Core/VersionFormat.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace CKAN
namespace CKAN
{
public enum VersionFormat
{
Expand Down
2 changes: 1 addition & 1 deletion Core/Versioning/GameVersionBound.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Linq;

namespace CKAN.Versioning
Expand Down
2 changes: 1 addition & 1 deletion Core/Versioning/GameVersionCriteria.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;

Expand Down
2 changes: 1 addition & 1 deletion GUI/ControlFactory.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System.Diagnostics;
using System.Diagnostics;
using System.Threading;

namespace CKAN.GUI
Expand Down
2 changes: 1 addition & 1 deletion GUI/Controls/Changeset.resx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Expand Down
2 changes: 1 addition & 1 deletion GUI/Controls/ChooseProvidedMods.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions GUI/Controls/ChooseProvidedMods.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,7 @@ public ListView.SelectedListViewItemCollection SelectedItems

private void ChooseProvidedModsListView_SelectedIndexChanged(object sender, EventArgs e)
{
if (OnSelectedItemsChanged != null)
{
OnSelectedItemsChanged(ChooseProvidedModsListView.SelectedItems);
}
OnSelectedItemsChanged?.Invoke(ChooseProvidedModsListView.SelectedItems);
}

private void ChooseProvidedModsListView_ItemChecked(object sender, ItemCheckedEventArgs e)
Expand Down
2 changes: 1 addition & 1 deletion GUI/Controls/ChooseProvidedMods.resx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Expand Down
2 changes: 1 addition & 1 deletion GUI/Controls/ChooseRecommendedMods.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion GUI/Controls/ChooseRecommendedMods.resx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Expand Down
2 changes: 1 addition & 1 deletion GUI/Controls/DeleteDirectories.resx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Expand Down
2 changes: 1 addition & 1 deletion GUI/Controls/EditModSearch.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion GUI/Controls/EditModSearch.resx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Expand Down
2 changes: 1 addition & 1 deletion GUI/Controls/EditModSearchDetails.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions GUI/Controls/EditModSearchDetails.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using System.Windows.Forms;
using log4net;

namespace CKAN.GUI
{
Expand Down Expand Up @@ -65,8 +64,6 @@ protected override void OnLeave(EventArgs e)
SurrenderFocus?.Invoke();
}

private static readonly ILog log = LogManager.GetLogger(typeof(EditModSearchDetails));

private void FilterTextBox_TextChanged(object sender, EventArgs e)
{
ApplySearch?.Invoke(sender, e);
Expand Down
2 changes: 1 addition & 1 deletion GUI/Controls/EditModSearchDetails.resx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Expand Down
2 changes: 1 addition & 1 deletion GUI/Controls/EditModSearches.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion GUI/Controls/EditModSearches.cs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ private void EditModSearch_SurrenderFocus()
SurrenderFocus?.Invoke();
}

private List<EditModSearch> editors = new List<EditModSearch>();
private readonly List<EditModSearch> editors = new List<EditModSearch>();
}

}
2 changes: 1 addition & 1 deletion GUI/Controls/HintTextBox.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Drawing;
using System.Windows.Forms;

Expand Down
4 changes: 2 additions & 2 deletions GUI/Controls/LeftRightRowPanel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ private bool BordersVisible
}
}

private FlowLayoutPanel LeftPanel;
private FlowLayoutPanel RightPanel;
private readonly FlowLayoutPanel LeftPanel;
private readonly FlowLayoutPanel RightPanel;
}
}
2 changes: 1 addition & 1 deletion GUI/Controls/ModInfoTabs/Versions.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion GUI/Controls/ModInfoTabs/Versions.resx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Expand Down
2 changes: 1 addition & 1 deletion GUI/Controls/PlayTime.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion GUI/Controls/PlayTime.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Linq;
using System.ComponentModel;
using System.Collections.Generic;
Expand Down
Loading

0 comments on commit f786791

Please sign in to comment.