mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 21:01:52 +00:00
Friendship ended with VISUAL STUDIO, Now RIDER is my best friend
This commit is contained in:
@@ -10,6 +10,7 @@ using GlitchyEngine.Content;
|
||||
using GlitchyEngine;
|
||||
using GlitchyEditor.Assets;
|
||||
using System.Diagnostics;
|
||||
using GlitchyEditor.CodeEditors;
|
||||
|
||||
namespace GlitchyEditor.EditWindows
|
||||
{
|
||||
@@ -242,7 +243,7 @@ namespace GlitchyEditor.EditWindows
|
||||
|
||||
if (ImGui.MenuItem("Open C# Project..."))
|
||||
{
|
||||
VisualStudioUtility.OpenScriptProject();
|
||||
RiderIdeAdapter.OpenScriptProject();
|
||||
}
|
||||
|
||||
ImGui.AttachTooltip("Opens the C# Solution of this project.");
|
||||
@@ -865,7 +866,7 @@ namespace GlitchyEditor.EditWindows
|
||||
if (entry->Path.EndsWith(".cs"))
|
||||
{
|
||||
// Obviously windows only
|
||||
VisualStudioUtility.OpenScript(entry->Path);
|
||||
RiderIdeAdapter.OpenScript(entry->Path);
|
||||
}
|
||||
else if (Path.OpenFolder(entry->Path) case .Err)
|
||||
Log.EngineLogger.Error("Failed to open file.");
|
||||
|
||||
@@ -7,6 +7,7 @@ using GlitchLog;
|
||||
using GlitchyEngine.Scripting;
|
||||
using GlitchyEngine.Renderer;
|
||||
using GlitchyEngine;
|
||||
using GlitchyEditor.CodeEditors;
|
||||
|
||||
namespace GlitchyEditor.EditWindows;
|
||||
|
||||
@@ -315,7 +316,7 @@ class LogWindow : EditorWindow
|
||||
{
|
||||
if (message.Source.MessageOrigin != null)
|
||||
{
|
||||
VisualStudioUtility.OpenScript(message.Source.MessageOrigin.FileName);
|
||||
RiderIdeAdapter.OpenScript(message.Source.MessageOrigin.FileName);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user