therealjohn / UnityProjectTemplatesAndSnippets

An extension for VS 2019 that adds file templates and snippets for Unity projects
19 stars 9 forks source link

Support Visual Studio 2022 #4

Open xchesh opened 2 years ago

xchesh commented 2 years ago

Hello!

How about Visual Studio 2022 suport?

Thank you!

therealjohn commented 2 years ago

Yes! I've started a PR to include all of this project into the Visual Studio Tools for Unity.

That will include VS 2022 support and no longer require installing this separate extension.

jourdanputtshack commented 2 years ago

Hello!

Is there any update on this? And how will we be able to add this to our projects? (Visual Studio Installer?)

therealjohn commented 2 years ago

Working on getting it into VS 2022 as part of the Game development with Unity workload in the VS Installer image

You likely already have this installed if you are using VS and Unity together. As soon as we have a release target I will update here.

nader-naderi commented 2 years ago

Working on getting it into VS 2022 as part of the Game development with Unity workload in the VS Installer image

You likely already have this installed if you are using VS and Unity together. As soon as we have a release target I will update here.

hey john, big fan of your work. you made our life so easier and smoother I appreciate it. after more than half of a month, still working on the VS2022 support? if you could bring it sooner you will save our neck quickly thanks man.

nader-naderi commented 2 years ago

Thanks man. yeah, I'm using the tools but your works are not there yet.

imniko commented 2 years ago

Any update on this?

malino-dev commented 1 year ago

Any update on this?

somedeveloper00 commented 1 year ago

I'm also interested to know what happened. VS 2022 currently just contains 2 Unity templates, one is monobehavhour and another is supposedly an Editor template, but it's actually a scriptable object with a menu item 🙂 image

using UnityEditor;
using UnityEngine;

namespace Assets
{
    public class NewEditorScript1 : ScriptableObject
    {
        [MenuItem("Tools/MyTool/Do It in C#")]
        static void DoIt()
        {
            EditorUtility.DisplayDialog("MyTool", "Do It in C# !", "OK", "");
        }
    }
}

how this mistake made it to main release is beyond me

DmFors commented 1 month ago

I have no experience in creating extensions for Visual Studio. However, after trying and failing several times, I managed to make extension work with Visual Studio 2022. The templates and snippets function without any errors. Here is my fork: https://github.com/DmFors/UnityProjectTemplatesAndSnippets