From c46dae328df57c2805e8f32e638e083ad5816f16 Mon Sep 17 00:00:00 2001 From: Lucas Nicodemus Date: Wed, 6 Dec 2017 23:37:09 -0700 Subject: [PATCH] Optimize imports I now have VSCode installed for one reason: to optimize imports. This required: 1. Installing VSCode. 2. Installing OmniSharp in VSCode. 3. Installing .NET Core so that OmniSharp could start in VSCode. VSCode is a Microsoft product. It doesn't ship .NET Core. Or Omni Sharp. Instead, you have to do all of this yourself. It's not batteries included or anything. It's actually harder to use OmniSharp in VSCode than it is to use it in Sublime Text. Except Sublime Text's OmniSharp maintainer went off and abandoned the project without telling anyone at OmniS harp. Which gave me the idea that OmniSharp still was maintained on Sublime Text. And I just upgraded my Sublime Text license today. Thanks OmniSharp developer. --- TShockAPI/Bouncer.cs | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/TShockAPI/Bouncer.cs b/TShockAPI/Bouncer.cs index 4a9e766a..e8e732be 100644 --- a/TShockAPI/Bouncer.cs +++ b/TShockAPI/Bouncer.cs @@ -17,21 +17,11 @@ along with this program. If not, see . */ using System; using System.Collections.Generic; -using System.ComponentModel; -using System.Diagnostics; -using System.IO; -using System.IO.Streams; using System.Linq; -using System.Text; -using System.Threading.Tasks; using Terraria.ID; using TShockAPI.DB; using TShockAPI.Net; using Terraria; -using Terraria.ObjectData; -using Terraria.DataStructures; -using Terraria.GameContent.Tile_Entities; -using Terraria.Localization; using Microsoft.Xna.Framework; using OTAPI.Tile; using TShockAPI.Localization; @@ -41,8 +31,8 @@ using TerrariaApi.Server; namespace TShockAPI { - /// Bouncer is the TShock anti-hack and build guardian system - internal sealed class Bouncer + /// Bouncer is the TShock anti-hack and build guardian system + internal sealed class Bouncer { /// Constructor call initializes Bouncer & related functionality. /// A new Bouncer.