We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64a9160 commit 0336525Copy full SHA for 0336525
2 files changed
Assets/Editor/CreateSolution.cs
@@ -1,16 +1,19 @@
1
#if UNITY_EDITOR
2
3
-using Unity.CodeEditor;
+using System.IO;
4
using UnityEditor;
5
+using UnityEngine;
6
+using VSCodeEditor;
7
8
namespace GitTools
9
{
10
public static class Solution
11
12
public static void Sync()
13
- CodeEditor.Editor.CurrentCodeEditor.SyncAll();
14
+ var projectGeneration = new ProjectGeneration(Directory.GetParent(Application.dataPath).FullName);
15
AssetDatabase.Refresh();
16
+ projectGeneration.GenerateAndWriteSolutionAndProjects();
17
}
18
19
Assets/Editor/GitTools.asmdef
@@ -2,7 +2,7 @@
"name": "GitTools",
"rootNamespace": "",
"references": [
- "GUID:b93f844d45cfcc44fa2b0eed5c9ec6bb"
+ "GUID:8b845b123ab418448a8be2935fa804e0"
],
"includePlatforms": [
"Editor"
0 commit comments