[Feature Suggestion] VSCode support
Right now RMCP only supports Eclipse and IntelliJ but VSCode support would also be nice for modding on low end hardware that struggles to run IntelliJ properly (due to a bug with eclipse I can't use that either).
Hmm, VSCode can load Eclipse projects IIRC, but yeah, we're ideally looking to separate the project creation and make it a lot more flexible but we haven't found an ideal way to do so to generate Eclipse, Idea, and VSCode projects other than maybe using gradle, but that's not ideal either.
Using Gradle is the most ideal solution. Gradle is the be-all-end all of JVM build management software. I'd happily die on this hill.
But seriously, what's not ideal about it? Gradle is flexible enough to handle all that and Gradle Wrapper comes in a lightweight package.
Sometimes, Gradle can become a painful elephant rather than a useful management software.
There are some issues related to it:
- Gradle is in fact not lightweight,
gradle-wrapperis just a tiny program used to download the Gradle bin itself. And when coming to the weight of only distribution bin… well… approximately it weights 200 MB. And it becomes a huge pain when you have different projects with differentGradleversion due to some limitations of looms and plugins you use. - Before, Gradle had a great idea of both backward compatibility and new feature support with various version and extremely disk space save. Basically Maven killer. But what have we got? Every time it downloads Gradle bin, even if you have pretty similar version (7.3 and 7.3.1 as an example), it consumes hard drive storage like a lot.
- Gradle strangely caches a lot while building, also consuming some storage. I know it's used for quick building and better performance, but… why doesn't Maven eat so much and stays same efficiency?
- Comparing to other solutions, like
Mavenand God forgive me,BuildrandAnt, Gradle's speed is pretty slow. - Sometimes Gradle can give you seizure pain while you'll try to tweak it globally.
- Sure, Gradle is mainly the greatest JVM app management/builder tool with lots of features included, but does RMCP need them at all? RMCP doesn't even have any features involving Gradle requirement! It's just a tiny program that intended to work independently, as original MCP does.
And of course, I think RMCP is targeted as a quick, not obese and handy tool for modifying the game code and probably some really lightweight management tool (or basically IDEs default builder tools) can be enough. Users shouldn't have a headache, mostly due to management tool.
If someone wants to expand their project to bigger solutions, it'd be better to give them opportunity to use other builders by their own wish.
I also believe that gradle is not the proper choice given it's tendency of breaking with newer java versions, but Generating the IDE project files manually isn't witchcraft either