Jump to content

Forge development for VScode


Skkkitzo

Recommended Posts

I know this question has been asked a few times on these forums before, but the answers were inconclusive and sometimes confusing. I have been searching for quite some hours now, to no avail.

 

I want to use VScode for forge modding, and I know I can use eclipse or intelliJ, I just prefer VScode; and at this point I've spent so much effort trying to get it working that I don't want to just give up.

Downloading the mdk from Forge's official downloads page, and then opening that folder in VScode, I would assume you would immediately be able to start debugging but no.

 

I noticed that you must have a launch.json file, but I am unsure what needs to be put in this. I tried copying this file from FabricMC, and editing the classes, but that didn't work.

I tried to auto-generate the file as well, but to no avail.

 

What am I missing? What is staring me in the face and I cannot see it?

 

I apologise for asking this question the millionth time on these forums probably, but I cannot find any answers.

I greatly appreciate any help

Link to comment
Share on other sites

The genVSCodeRuns Gradle task generates run configurations for VS Code.

  • Sad 1

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Link to comment
Share on other sites

11 minutes ago, Ugdhar said:

What version are you using? I thought there was a gradle task to generate vscode runs.

I am using 1.12.2, as this is the version that most mods are currently updated to.

 

9 minutes ago, Choonster said:

The genVSCodeRuns Gradle task generates run configurations for VS Code.

I tried that, nothing. I would assume it's the version I'm using.

Link to comment
Share on other sites

1 minute ago, Skkkitzo said:

I am using 1.12.2

1.12.2 is no longer supported due to age.

Please update to a modern version to receive support.

 

More information can be found in the LTS link at the top of every page.

Link to comment
Share on other sites

Just now, Ugdhar said:

1.12.2 is no longer supported due to age.

Please update to a modern version to receive support.

 

More information can be found in the LTS link at the top of every page.

Then my question is, why are almost all the large mods (TE5, Applied Energistics, Industrial Foregoing, etc.) made for 1.12.2 and nothing above?

Link to comment
Share on other sites

3 minutes ago, Skkkitzo said:

Then my question is, why are almost all the large mods (TE5, Applied Energistics, Industrial Foregoing, etc.) made for 1.12.2 and nothing above?

 I couldn't tell you, but that is irrelevant. It has been made clear on this site that only the current and previous version are supported, and threads for outdated versions get locked by moderators, as they clutter up the forums for the people looking for help with the current versions.

 

You're free to continue using outdated versions (much as someone could install and use Windows XP on their computer), but you will not receive support here for it (much like if you asked Microsoft for support for Windows XP; they would tell you to update).

 

*edit: not to mention staying in the past, you miss out on new stuff, for example, being able to use VSCode out of the box. . . .

Edited by Ugdhar
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.