Skip to content
This repository was archived by the owner on May 9, 2023. It is now read-only.

Commit f815a13

Browse files
committed
Namespace cleanup, move some categories out of UI namespace
1 parent 65c4d49 commit f815a13

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+174
-150
lines changed

src/UI/CSConsole/CSAutoCompleter.cs renamed to src/CSConsole/CSAutoCompleter.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
using System.Linq;
44
using System.Text;
55
using UnityEngine;
6-
using UnityExplorer.UI.CSConsole.Lexers;
6+
using UnityExplorer.CSConsole.Lexers;
7+
using UnityExplorer.UI;
78
using UnityExplorer.UI.Widgets.AutoComplete;
89

9-
namespace UnityExplorer.UI.CSConsole
10+
namespace UnityExplorer.CSConsole
1011
{
1112
public class CSAutoCompleter : ISuggestionProvider
1213
{

src/UI/CSConsole/ConsoleController.cs renamed to src/CSConsole/ConsoleController.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@
1010
using UnityEngine.EventSystems;
1111
using UnityEngine.UI;
1212
using UnityExplorer.Core.Input;
13-
using UnityExplorer.UI.CSConsole;
13+
using UnityExplorer.CSConsole;
14+
using UnityExplorer.UI;
1415
using UnityExplorer.UI.Panels;
1516
using UnityExplorer.UI.Widgets.AutoComplete;
1617

17-
namespace UnityExplorer.UI.CSConsole
18+
namespace UnityExplorer.CSConsole
1819
{
1920
public static class ConsoleController
2021
{

src/UI/CSConsole/LexerBuilder.cs renamed to src/CSConsole/LexerBuilder.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
using System.Text;
66
using UnityEngine;
77
using UnityEngine.UI;
8-
using UnityExplorer.UI.CSConsole.Lexers;
8+
using UnityExplorer.CSConsole.Lexers;
99

10-
namespace UnityExplorer.UI.CSConsole
10+
namespace UnityExplorer.CSConsole
1111
{
1212
public struct MatchInfo
1313
{

src/UI/CSConsole/Lexers/CommentLexer.cs renamed to src/CSConsole/Lexers/CommentLexer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using System.Linq;
33
using UnityEngine;
44

5-
namespace UnityExplorer.UI.CSConsole.Lexers
5+
namespace UnityExplorer.CSConsole.Lexers
66
{
77
public class CommentLexer : Lexer
88
{

src/UI/CSConsole/Lexers/KeywordLexer.cs renamed to src/CSConsole/Lexers/KeywordLexer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using System.Text;
33
using UnityEngine;
44

5-
namespace UnityExplorer.UI.CSConsole.Lexers
5+
namespace UnityExplorer.CSConsole.Lexers
66
{
77
public class KeywordLexer : Lexer
88
{

src/UI/CSConsole/Lexers/Lexer.cs renamed to src/CSConsole/Lexers/Lexer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using System.Linq;
33
using UnityEngine;
44

5-
namespace UnityExplorer.UI.CSConsole.Lexers
5+
namespace UnityExplorer.CSConsole.Lexers
66
{
77
public abstract class Lexer
88
{

src/UI/CSConsole/Lexers/NumberLexer.cs renamed to src/CSConsole/Lexers/NumberLexer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using UnityEngine;
22

3-
namespace UnityExplorer.UI.CSConsole.Lexers
3+
namespace UnityExplorer.CSConsole.Lexers
44
{
55
public class NumberLexer : Lexer
66
{

src/UI/CSConsole/Lexers/StringLexer.cs renamed to src/CSConsole/Lexers/StringLexer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System.Collections.Generic;
22
using UnityEngine;
33

4-
namespace UnityExplorer.UI.CSConsole.Lexers
4+
namespace UnityExplorer.CSConsole.Lexers
55
{
66
public class StringLexer : Lexer
77
{

src/UI/CSConsole/Lexers/SymbolLexer.cs renamed to src/CSConsole/Lexers/SymbolLexer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Text;
44
using UnityEngine;
55

6-
namespace UnityExplorer.UI.CSConsole.Lexers
6+
namespace UnityExplorer.CSConsole.Lexers
77
{
88
public class SymbolLexer : Lexer
99
{

src/UI/CSConsole/ScriptEvaluator.cs renamed to src/CSConsole/ScriptEvaluator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
// Thanks to ManlyMarco for this
99

10-
namespace UnityExplorer.UI.CSConsole
10+
namespace UnityExplorer.CSConsole
1111
{
1212
public class ScriptEvaluator : Evaluator, IDisposable
1313
{

0 commit comments

Comments
 (0)