
- #Configure php class intellij ultimate how to
- #Configure php class intellij ultimate mod
- #Configure php class intellij ultimate mods
+ Select module that was created on project import + Hit the "+" at the top, select JAR -> From modules with dependencies + Add LazyLib.jar and javadoc.zip, hit OK + Hit the "+" with a little globe on it to add a Javadoc + Name the dependency "starsector core" (or whatever you want) + Select all of the JARs in Starsector's root directory (as well as ), hit OK

+ Hit the "+" sign at the top, select Java
#Configure php class intellij ultimate mods
+ Make sure you have LazyLib and ShaderLib downloaded and in your mods folder if your project uses them. + Hit the "+", select the path to the JDK that you downloaded
#Configure php class intellij ultimate mod
Take this existing mod and delete everything but the mod_info.json and modPlugin.java files and start from there. Once you've finished this tutorial with an example mod from the forums, use an existing mod from the forums to create your mod. It also functions as an example for most everything you'd want to do, including custom planets/portraits/ships/AI/music/weapons/plugins/sector generation/skills/hullmods/ship systems/etc. I'm making this recommendation not because I'm trying to promote my mod, but because I know it is guaranteed to work with this tutorial. I will recommend my mod ( ) as an example for this tutorial. That way, if something doesn't work, you'll know it's your code and not the way you are setting up your project.
#Configure php class intellij ultimate how to
Doing this will let you learn the ins and outs of the IDE a bit before you start, and will ensure that you know how to compile a mod correctly. Make sure it makes a module out of your project's src/ directory (or wherever your code lives).īut wait, I don't want to import a mod, I want to start my own from scratch!ĭownload the source code for an existing mod and follow this tutorial with that mod. + Hit next a couple times, I think the rest of the config settings should be ok. + File -> New project from existing sources + Get IntelliJ IDEA from here (the Community Edition is great). + Download the Java 1.7 SE JDK for your OS (if you don't have it already). NOTE: this tutorial is aimed at IntelliJ IDEA versions 14+. + Setup some miscellaneous IntelliJ settings that I find helpful.

+ Created a one-click build+run configuration for your mod + Starsector. + Setup and learned how to access the Starsector/LazyLib/ShaderLib Javadocs from within IntelliJ while coding. + Configured IntelliJ for editing and compiling your mod's code into a JAR. However, I can guarantee that following this tutorial will make you suck harder, faster, and more creatively than ever before!īy the end of this tutorial, you will have: If you suck at coding, you will still continue to suck. So I know most of the forum have been indoctrinated into the unholy cult of NetBeans, but IntelliJ IDEA is pretty great and has several features that make modding Starsector a breeze (more so than NetBeans).
