Announcement

Collapse
No announcement yet.

Kantan UE4VS Visual Studio Extension

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    [TOOL] Kantan UE4VS Visual Studio Extension

    New free extension for anyone like me who spends most of their time in Visual Studio rather than the UE4 editor.

    http://kantandev.com/free/kantan-ue4-vs

    Current features:

    - Code templates. Simple wizard for generating UE4 source files, classes, modules and plugins.
    - Blueprint property visualizer. Incorporated an older extension for showing blueprint properties in the variable watch window.

    Enjoy!

    #2
    Not sure if this is intended, but I figured i would let you know: This plugin has a dpendency on UE4-development unrelated components, like "C# and Visual Basic"

    Comment


      #3
      It's written in C#, but I'm not sure what sort of dependency you mean exactly. Are you saying VS is complaining that it needs to have C# and VB development tools installed, in order to use the extension? If so, can you copy paste the text or image of the error? Thanks.

      Comment


        #4
        kamrann

        Here is one of the packages it required me to add to my VS2017 installation in order to be able to install your plugin.

        Click image for larger version  Name:	 Views:	1 Size:	20.5 KB ID:	1439948

        The other package I needed to install (and can't seem to find in this list) was a package that seemed to be required to develop extensions for VS2017

        I find both of these requirements strange, since no other plugin ever required them.

        Edit:

        Ok, I found the other package. I was speaking of this thing:

        Click image for larger version  Name:	 Views:	1 Size:	9.7 KB ID:	1439952

        I am not sure what has been installed or not noq, I'm confused... If you know what has been installed, I would be happy if you told me because I hate bloating up my VS2017 installation

        Edit 2:

        I tried deleting the component mentioned above and tried to reinstall your plugin. I get the same message upon installation as before, see below:

        Click image for larger version  Name:	 Views:	1 Size:	21.2 KB ID:	1439954

        It's in german, yes, but the important part reads:

        Required Components: (Erforderliche Komponenten: )
        C# and Visual Basic (C# und Visual Basic)
        Required Components for the Visual Studio-Extensionsdevelopment (Erforderliche Komponenten für die Visual Studio-Extensionsentwicklung)
        Last edited by rYuxq; 03-08-2018, 06:12 AM.

        Comment


          #5
          Just an update that the above dependency issues have now been sorted. Thanks rYuxq for the help.

          Comment


            #6
            Hey there kamrann
            I noticed some time ago that your plugin fails at creating and adding new classes to my project. I can add them manually to my project though, so I think something is failing there when your plugin attempts it.

            Also, I think in all 4 creating dialogs, it would be helpful to display the absolute path to the files/directories that are going to be created, in order to avoid confusion. Either the absolute or the relative path (relative to the project's root directory) would be helpful. I feel insecure creating new files, worrying they might land not exactly there where I want them to

            Edit: I found out that the new file creation "seems" to work when it doesnt have to create new directories. If it has to create folders, creating it on the HDD and adding the filter to the .sln seems to work partially, but it always fails to create files
            Last edited by rYuxq; 03-15-2018, 05:41 AM.

            Comment


              #7
              Originally posted by rYuxq View Post
              I noticed some time ago that your plugin fails at creating and adding new classes to my project.
              Edit: I found out that the new file creation "seems" to work when it doesnt have to create new directories. If it has to create folders, creating it on the HDD and adding the filter to the .sln seems to work partially, but it always fails to create files
              It sounds like it's the VS bug noted at the bottom here? Check to see if there's anything in the output window when trying. Fixes are given at the above link.

              Also, I think in all 4 creating dialogs, it would be helpful to display the absolute path to the files/directories that are going to be created, in order to avoid confusion. [
              Absolutely, I agree. Actually I already have some code in there for doing that, but I disabled it for initial release because I suck at C# UI and couldn't get it to work as I wanted. Will definitely be done though.

              Comment


                #8
                Indeed, that was the error, I didnt think the those two were the same bugs.

                Another feedback: Maybe you want to provide tooltops for some (or all) fields in the code template gernator dialog, like for "Reflected?", so that people can just hover the respective line and see what it is for (I know it in this case, but I noticed that I tend to forget it)

                Edit: As for displaying the path, I think you can use a simple label right below the path text input field and show the current path

                Have you considered putting this extension on github? Some people might like to contribute. I can imagine myself contributing, at least.

                For example, I could need a delete functionality, that will delete a file from a project, as well as the underlying file on the HDD. this doesnt happen automatically when I delete a file from my project, at least.(or am I the only one who has to delete the files from the HDD manually?)
                Last edited by rYuxq; 03-15-2018, 06:59 PM.

                Comment


                  #9
                  This is super helpful. Thanks a lot!

                  I use the dark theme in VS, so it's a tiny bit hard to read the black text in the dialog boxes. Not sure if there is an Automatic option for the label color, instead of black?

                  Comment


                    #10
                    Thanks for the feedback. Yep, rYuxq also mentioned to me about the color theme. I looked into it, and from what I can see the controls should inherit the theme automatically, but for some reason they're not doing and I don't know enough about C# and WPF to understand why. Reapplying everything manually proved too big of a job.

                    When I get a moment I'll make a pass on the UI, and at least try to fix the labels in dark theme since that alone should be fairly easy to do. I'll also look into putting this on Github.

                    Comment


                      #11
                      If you put it on Github I could also have a look at the label colors, not that I have much experience with WPF either to be honest...

                      Thanks for the great little extension. I love stuff like this.

                      Comment


                        #12
                        I would definitely try to improve the theming if you put it on github its a nice plugin after all

                        Comment


                          #13
                          Apologies for being so slow, I appreciate the interest.

                          I've now moved it over to Github: https://github.com/kamrann/KantanUE4VS

                          I've not shared a C# project before, so please let me know if there are any issues with compilation after cloning.
                          And if you have any questions/feedback, feel free to contact me here or on the UE4 Discord (kamrann#7656).

                          Comment


                            #14
                            can you confirm that this works with the last visual studio version? I can't seem to click "add" when I try to add something

                            Comment

                            Working...
                            X