Announcement

Collapse

The Infinity Blade Forums Have Moved

We've launched brand new Infinity Blade forums with improved features and revamped layout. We've also included a complete archive of the previous posts. Come check out the new Infinity Blade forums.
See more
See less

Eclipse UDK IDE

Collapse
This is a sticky topic.
X
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Eclipse UDK IDE

    Eclipse UDK IDE


    What is the Eclipse UDK IDE:

    The Eclipse UDK IDE is a plugin for Eclipse that gives you a lot of functionality to program UnrealScript using Eclipse.

    Functionality:
    - Auto completion (real auto completion, one that shows variables and functions and not just keywords, it also updates realtime instead of only after saving a file)
    - Local history (automatically makes backups of every file, configurable max file size)

    - Syntax coloring
    - Parses Javadoc
    - Class Hierarchy View
    - Outline View (shows variables (red squares), overridden functions (blue circles), and 'new' functions (green circles))
    - CTRL+Click on classes, functions and variables to go to that class/function/variable
    - CTRL+Click on a function's name to go to the function it overrides (if the function with the same name exists in a parent class)
    - Automatically builds after saving
    - Has build-in documentation for advanced UnrealScript keywords
    - Shows a compiler console (for warnings/errors during compiling)
    - Shows an executer console (for warnings/errors during playing or testing)
    - Has a 'run game' button (with multiple settings/profiles)
    - Has an 'open editor' button (with multiple settings/profiles)
    - Shows brackets errors (shows an error when you're missing a bracket or mixing up different brackets like "{ [ }")

    - Parses compiler warnings and errors to underline the code that caused the warning or error

    - It is easy to update

    Shortcomings:
    - You can't change the colors (it uses the default JDT Eclipse colors)

    Screenshots:
    - Code Explorer
    - Class Hierarchy
    - Compiler Console
    - Executer Console
    - Auto Completion 01
    - Auto Completion 02
    - Auto Completion 03
    - Auto Completion 04
    - CTRL+Click 01
    - CTRL+Click 02



    To install it:

    Pre-Installed
    Either download Eclipse 4.3 with the plugin pre-installed:
    Eclipse 4.3 (32bit): [mega.co.nz]
    Eclipse 4.3 (64bit):
    [mega.co.nz]
    (Don't forget to update the plugins after downloading it, I can't re-upload new version of the pre-installed installations every time a plugin gets an update.
    You can update the plugins by starting the editor, clicking on the Help tab, and then clicking on Check for Updates.)


    Using an existing Eclipse installation
    Or install the plugin in an already existing Eclipse installation:
    Open Eclipse -> Help -> Install New Software... -> put the link below in the inputfield and press enter -> select the package -> make sure the checkbox "Contact all update sites during install to find required software" is checked -> press next a couple times -> restart Eclipse when done.
    Plugin:
    https://dl.dropboxusercontent.com/u/...cript/site.xml



    To use it:

    UDK Perspective
    After starting Eclipse you should see a button at the right top corner with the UDK button and text. Click it. You're now in the UDK perspective.

    Importing Projects
    Here you'll see a new button, the UnrealScript logo with a big green arrow pointing downwards. This is the import button. Press the import button and select your project, then press OK to import it. It won't make copies of the files, it will just link to those files.

    Opening UnrealScript Files
    After that, open the project (in the Eclipse 'Package Explorer'), unfold the UnrealScript folder, browse one of your script files, and double click them.

    Other
    You'll now see some other buttons as well. These are the settings and the run buttons. I won't tell a lot about these buttons, just try em out. Just know that the execute settings work with 'profiles', so you can have multiple 'profiles' (one for each map for example). This way you can easily run UDK.exe with different settings.

    There are also some preferences for compiling on save and for the content assistant in the preferences menu, you can find them in Window->Preferences->UDK.




    Troubleshooting:

    Import Project creates an empty project folder / Error: "Can't make subfolder xxx: Linked resources are not supported by this application."
    You have linked resources disabled, enable them by doing this:
    Open preferences (Eclipse->Window->Preferences), then go to General->Workspace->Linked Resources, then enable linked resources.
    Screenshot: http://imageshack.com/scaled/large/687/u55h.png


    Unable to resolve plug-in / Could not create view
    This error is most likely showing up because you use Java 6. This plugin needs Java 7 to function properly.
    You can see your current Java version by opening cmd and executing "java -version".
    Download the latest Java JRE 7
    here.

    #2
    Great job!
    I'd love to have a class hierarchy view in Sublime too, but Sublime doesn't really support that...

    Comment


      #3
      Looks good, but I cannot install it, eclipse gives me and error.
      I use Eclipse Juno 64bit

      greetings
      Attached Files

      Comment


        #4
        Thanks!

        FTC, it looks like you're missing "org.eclipse.debug.ui.3.8.2", try checking the checkbox with the text "Contact all update sites during install to find required software".



        It will take a long time then, but it might work.

        Comment


          #5
          Did it work?

          Comment


            #6
            It looks promising the type hierarchy is something that I would use if there was a decent IDE for Unrealscript...

            A few questions:
            • Are you considering to add auto-complete functionality? (for both functions and variables) How is your progress on that?
            • Did you consider implementing code stub generators for when you're trying to override a parent function?


            I think if it had these functionalities everyone would be willing to use it... programming on Notepad++ without auto-complete support on such a complex engine makes programming for Unrealscript way harder than it should be.

            I haven't found the time to find a good IDE for Unrealscript yet, but I think I will try this one in the future. Good job.

            Comment


              #7
              I would absolutely love a UnrealScript plugin for eclipse! Just waiting for you to add auto-completion .
              But seriously though, lovely work. Good Job! <3

              Comment


                #8
                I could already make auto complete functionality for only the current class' functions and attributes, making a complete auto completion will take more time since then I would have to get the class of the object you're calling the auto complete functionality on and then get the functions and attributes of that class.
                Currently I don't have that time, I have to make a game in 6 months time (currently still 5 months left). After that I have a month vacation, in which I will be expanding this plugin. Making complete auto completion functionality will be my top priority then.

                Comment


                  #9
                  It's been around 5 months since I've started this topic, and I've held on to my promise. I've added auto completion, and I mean real auto completion, not that keyword completing **** many others call "auto completion".

                  The auto completion of this plugin works by parsing the variables and the functions of the current class and any class that it extends. Then these functions and variables will be compared to what you've already typed.

                  You can also complete variables and functions from variables and functions, for example "worldInfo.g" will show the variables and functions that are located in the class WorldInfo which start with a "g".
                  This happends by parsing the current class (local variables and function parameters of the current function as well) to find "worldInfo". It then finds the class of the variable "worldInfo" and then it will parse that class and it's parents for the possible variables and functions.

                  Besides that, CTRL+Click will now also work on variables and functions from variables and functions. It parses the variables and functions the same was as the auto completion functionality does.

                  This all may sound a bit vague, so I've added some screenshots:

                  - Auto Completion 01
                  - Auto Completion 02
                  - Auto Completion 03
                  - Auto Completion 04
                  - CTRL+Click 01
                  - CTRL+Click 02

                  If you want more screenshots, just ask for them and I'll make them as soon as I've read your post.

                  Good luck programming,
                  - Zwarmapapa

                  Comment


                    #10
                    Originally posted by zwarmapapa View Post
                    Thanks!
                    FTC, it looks like you're missing "org.eclipse.debug.ui.3.8.2", try checking the checkbox with the text "Contact all update sites during install to find required software".
                    [...]
                    It will take a long time then, but it might work.
                    Sorry I kind of forgot about this

                    But with your new post I rediscovered the plugin and continued testing: No, that does not work, I have tried different versions of eclipse and I can install the plugin with 4x (Kepler). However when I want to import a project I get a lot of error messages like "Can't make subfolder UnrealScript: Linked resources are not supported by this application." or "Can't make subfolder Logs: Linked resources are not supported by this application."

                    What version of eclipse are you using?

                    greetings

                    Comment


                      #11
                      Originally posted by FTC View Post
                      Sorry I kind of forgot about this

                      But with your new post I rediscovered the plugin and continued testing: No, that does not work, I have tried different versions of eclipse and I can install the plugin with 4x (Kepler). However when I want to import a project I get a lot of error messages like "Can't make subfolder UnrealScript: Linked resources are not supported by this application." or "Can't make subfolder Logs: Linked resources are not supported by this application."

                      What version of eclipse are you using?

                      greetings

                      Ah, too bad to hear that. I'm using Eclipse version 4.2.2.

                      These are the dependencies of the plugin, I don't know if they are helpful, but every bit of information might help you.
                      Code:
                      org.eclipse.core.expressions            3.4.401
                      org.eclipse.core.filesystem             1.3.200
                      org.eclipse.core.runtime                3.8.0
                      org.eclipse.jface.text                  3.8.1
                      org.eclipse.jdt.ui                      3.8.1
                      org.eclipse.ui                          3.103.0
                      org.eclipse.ui.console                  3.5.100
                      org.eclipse.ui.editors                  3.8.0
                      org.eclipse.ui.ide                      3.8.1
                      org.eclipse.ui.workbench.texteditor     3.8.0
                      org.eclipse.debug.ui                    3.8.2
                      org.eclipse.ui.views                    3.6.100
                      Edit: When I look at my Eclipse version, it says 4.2, but the eclipse packages that I use are apparently from Eclipse 3. Maybe you should download Eclipse 3 (Indigo) instead of Eclipse 4.

                      Edit 2: When I'm starting up my Eclipse, it says it uses Juno (4.2), so perhaps Eclipse 4.2 would work.

                      Comment


                        #12
                        I now tried about 10 different versions of eclipse and there are always the same two scenarios: Up to 4 I get the "Missing Requirement" errors and from 4 to 4.3 up I get the "Linked Resources" errors.

                        Comment


                          #13
                          Originally posted by FTC View Post
                          I now tried about 10 different versions of eclipse and there are always the same two scenarios: Up to 4 I get the "Missing Requirement" errors and from 4 to 4.3 up I get the "Linked Resources" errors.
                          Which dependencies does it exactly miss?

                          Edit: I'll try it myself as well, if I get it to work with a new installation, I'll write down the steps here and I'll also zip it up and put it online so all you have to do is download that Eclipse installation.

                          Edit 2: When I installed it with 4.3, it just worked. No dependencies problems, no linking problems. I'll put my installation from 4.3 online, brb.

                          Edit 3: By the way, do you have UAC on? And if so, did you start Eclipse with Admin privileges?

                          Edit 4: I've zipped the installations:
                          Eclipse 4.3 (32bit)
                          Eclipse 4.3 (64bit)

                          Comment


                            #14
                            I'm going to send a private message to flak asking for this thread to be made sticky.

                            I love eclipse, good job!

                            Comment


                              #15
                              Originally posted by 100GPing100 View Post
                              I'm going to send a private message to flak asking for this thread to be made sticky.

                              I love eclipse, good job!
                              Thanks!

                              I really like Eclipse a lot too. I honestly think nFringe is better (it's kinda stupid to think otherwise), but I just can't stand Microsoft Visual Studio, so that's why I made this plugin. Besides that, I rather use a free IDE than a commercial one, but that's just my opinion.

                              Comment

                              Working...
                              X