Skip to content

Commit

Permalink
chore: removes unnecessary and implicit usings from intersect editor (A…
Browse files Browse the repository at this point in the history
  • Loading branch information
Arufonsu authored and cydyn committed Jul 11, 2024
1 parent 1abe4c3 commit 6807fc5
Show file tree
Hide file tree
Showing 103 changed files with 46 additions and 486 deletions.
5 changes: 1 addition & 4 deletions Intersect.Editor/Configuration/ToolCursor.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.IO;
using Newtonsoft.Json;
using Newtonsoft.Json;
using Intersect.Editor.General;

namespace Intersect.Editor.Configuration
Expand Down
7 changes: 0 additions & 7 deletions Intersect.Editor/Content/ContentManager.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Windows.Forms;

using Intersect.Editor.Localization;
using Intersect.Editor.Networking;
using Intersect.GameObjects;
Expand Down
6 changes: 1 addition & 5 deletions Intersect.Editor/Content/Texture.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.IO;

using Intersect.Editor.Core;
using Intersect.IO.Files;
using Intersect.IO.Files;
using Intersect.Logging;
using Intersect.Utilities;

Expand Down
5 changes: 0 additions & 5 deletions Intersect.Editor/Content/TexturePacker.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;

using Intersect.Compression;
using Intersect.Editor.Content;
using Intersect.Editor.Core;
using Newtonsoft.Json.Linq;
using Graphics = System.Drawing.Graphics;
using Rectangle = Microsoft.Xna.Framework.Rectangle;
Expand Down
4 changes: 0 additions & 4 deletions Intersect.Editor/Core/Database.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
using System;
using System.Drawing;
using System.IO;

using Intersect.Configuration;
using Intersect.Editor.Configuration;
using Mono.Data.Sqlite;
Expand Down
4 changes: 0 additions & 4 deletions Intersect.Editor/Core/Graphics.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.Windows.Forms;
using Intersect.Config;
using Intersect.Editor.Content;
using Intersect.Editor.Entities;
Expand Down
7 changes: 1 addition & 6 deletions Intersect.Editor/Core/Main.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;

using Intersect.Editor.Content;
using Intersect.Editor.Content;
using Intersect.Editor.Forms;
using Intersect.Editor.General;
using Intersect.Editor.Localization;
Expand Down
4 changes: 0 additions & 4 deletions Intersect.Editor/Core/Program.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Threading;
using System.Windows.Forms;

using Intersect.Editor.Forms;
using Intersect.Editor.General;
Expand Down
5 changes: 1 addition & 4 deletions Intersect.Editor/Entities/Animation.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Drawing;

using Intersect.Editor.Content;
using Intersect.Editor.Content;
using Intersect.GameObjects;
using Intersect.Utilities;

Expand Down
4 changes: 1 addition & 3 deletions Intersect.Editor/Forms/Controls/AutoDragPanel.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Windows.Forms;
using Timer = System.Windows.Forms.Timer;
using Timer = System.Windows.Forms.Timer;

namespace Intersect.Editor.Forms.Controls
{
Expand Down
10 changes: 0 additions & 10 deletions Intersect.Editor/Forms/Controls/GameObjectList.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Intersect.Editor.Forms.Controls
{
public partial class GameObjectList : TreeView
Expand Down
4 changes: 0 additions & 4 deletions Intersect.Editor/Forms/Controls/LightEditorCtrl.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
using System;
using System.Windows.Forms;

using Intersect.Editor.Core;
using Intersect.Editor.General;
using Intersect.Editor.Localization;
using Intersect.GameObjects;
Expand Down
4 changes: 0 additions & 4 deletions Intersect.Editor/Forms/Controls/MapAttributeTooltip.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
using System;
using System.Drawing;
using System.Windows.Forms;

using Intersect.Editor.Localization;
using Intersect.GameObjects.Maps;

Expand Down
3 changes: 0 additions & 3 deletions Intersect.Editor/Forms/Controls/MapTreeList.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Windows.Forms;

using Intersect.Editor.Networking;
using Intersect.GameObjects.Maps.MapList;
Expand Down
7 changes: 1 addition & 6 deletions Intersect.Editor/Forms/Controls/SearchableDarkTreeView.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

using DarkUI.Controls;
using DarkUI.Controls;

using Intersect.Collections;
using Intersect.Models;
Expand Down
6 changes: 0 additions & 6 deletions Intersect.Editor/Forms/DockingElements/frmMapEditor.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Windows.Forms;
using DarkUI.Forms;
using Intersect.Config;
using Intersect.Editor.Classes.Maps;
Expand Down
4 changes: 0 additions & 4 deletions Intersect.Editor/Forms/DockingElements/frmMapGrid.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
using System;
using System.Windows.Forms;

using Intersect.Editor.Core;
using Intersect.Editor.General;
using Intersect.Editor.Localization;
using Intersect.Editor.Maps;
Expand Down
7 changes: 0 additions & 7 deletions Intersect.Editor/Forms/DockingElements/frmMapLayers.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Windows.Forms;
using Intersect.Config;
using Intersect.Editor.Content;
using Intersect.Editor.Core;
using Intersect.Editor.General;
using Intersect.Editor.Localization;
using Intersect.Enums;
Expand Down
3 changes: 0 additions & 3 deletions Intersect.Editor/Forms/DockingElements/frmMapList.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using System;
using System.Windows.Forms;

using DarkUI.Forms;

using Intersect.Editor.General;
Expand Down
4 changes: 1 addition & 3 deletions Intersect.Editor/Forms/DockingElements/frmMapProperties.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System.Windows.Forms;

using Intersect.Editor.Localization;
using Intersect.Editor.Localization;
using Intersect.Editor.Maps;

using WeifenLuo.WinFormsUI.Docking;
Expand Down
3 changes: 0 additions & 3 deletions Intersect.Editor/Forms/Editors/EditorForm.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using System;
using System.Windows.Forms;

using Intersect.Editor.Networking;
using Intersect.Enums;
using Intersect.Logging;
Expand Down
3 changes: 0 additions & 3 deletions Intersect.Editor/Forms/Editors/Events/CommandPrinter.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;

using Intersect.Editor.Localization;
using Intersect.Editor.Maps;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,4 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Intersect.GameObjects.Events.Commands;
using Intersect.GameObjects.Events;
using Intersect.Editor.Localization;
using Intersect.GameObjects;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
using System;
using System.Drawing;
using System.IO;
using System.Windows.Forms;

using Intersect.Editor.Content;
using Intersect.Editor.Core;
using Intersect.Editor.Localization;
using Intersect.GameObjects.Events.Commands;
using Intersect.Utilities;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Windows.Forms;

using Intersect.Editor.Localization;
using Intersect.Editor.Localization;
using Intersect.Enums;
using Intersect.GameObjects.Events.Commands;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using System;
using System.Windows.Forms;

using Intersect.Enums;
using Intersect.Editor.Localization;
using Intersect.GameObjects;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Windows.Forms;

using Intersect.Editor.Localization;
using Intersect.Editor.Localization;
using Intersect.GameObjects.Events.Commands;

namespace Intersect.Editor.Forms.Editors.Events.Event_Commands
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Windows.Forms;

using Intersect.Editor.Localization;
using Intersect.Editor.Localization;
using Intersect.GameObjects;
using Intersect.GameObjects.Events;
using Intersect.GameObjects.Events.Commands;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Windows.Forms;

using Intersect.Editor.Localization;
using Intersect.Editor.Localization;
using Intersect.GameObjects.Events.Commands;

namespace Intersect.Editor.Forms.Editors.Events.Event_Commands
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Windows.Forms;

using Intersect.Editor.Localization;
using Intersect.Editor.Localization;
using Intersect.GameObjects.Events.Commands;

namespace Intersect.Editor.Forms.Editors.Events.Event_Commands
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using System;
using System.Windows.Forms;

using Intersect.Editor.Localization;
using Intersect.GameObjects.Events.Commands;
using Intersect.Utilities;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Windows.Forms;

using Intersect.Editor.Localization;
using Intersect.Editor.Localization;
using Intersect.GameObjects;
using Intersect.GameObjects.Events;
using Intersect.GameObjects.Events.Commands;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
using System;
using System.Drawing;
using System.IO;
using System.Windows.Forms;

using Intersect.Editor.Content;
using Intersect.Editor.Core;
using Intersect.Editor.Localization;
using Intersect.GameObjects.Events.Commands;
using Intersect.Utilities;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Windows.Forms;

using Intersect.Editor.Localization;
using Intersect.Editor.Localization;
using Intersect.GameObjects.Events.Commands;

namespace Intersect.Editor.Forms.Editors.Events.Event_Commands
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using System;
using System.Windows.Forms;

using Intersect.Editor.General;
using Intersect.Editor.Localization;
using Intersect.Enums;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Windows.Forms;

using Intersect.Editor.Localization;
using Intersect.Editor.Localization;
using Intersect.GameObjects;
using Intersect.GameObjects.Events.Commands;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
using System;
using System.Linq;
using System.Windows.Forms;

using Intersect.Editor.Localization;
using Intersect.Enums;
using Intersect.GameObjects;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Windows.Forms;

using Intersect.Editor.Localization;
using Intersect.Editor.Localization;
using Intersect.GameObjects;
using Intersect.GameObjects.Events;
using Intersect.GameObjects.Events.Commands;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Windows.Forms;

using Intersect.Editor.Localization;
using Intersect.Editor.Localization;
using Intersect.GameObjects;
using Intersect.GameObjects.Events.Commands;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using System;
using System.Windows.Forms;

using Intersect.Editor.Localization;
using Intersect.GameObjects;
using Intersect.GameObjects.Events.Commands;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Windows.Forms;

using Intersect.Editor.Localization;
using Intersect.Editor.Localization;
using Intersect.Enums;
using Intersect.GameObjects;
using Intersect.GameObjects.Events.Commands;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Windows.Forms;

using Intersect.Editor.Localization;
using Intersect.Editor.Localization;
using Intersect.GameObjects.Events.Commands;

namespace Intersect.Editor.Forms.Editors.Events.Event_Commands
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using System;
using System.Windows.Forms;

using Intersect.Editor.Localization;
using Intersect.Enums;
using Intersect.GameObjects;
Expand Down
Loading

0 comments on commit 6807fc5

Please sign in to comment.