Jump to content

Is there a way to use Visual Studio 2015 to develop for forge?


Is.M.L

Recommended Posts

I know Visual Studio doesn't offer Java support natively, but some people wrote what seem to be good extensions (like this: https://marketplace.visualstudio.com/items?itemName=SamHarwell.JavaLanguageSupport ). Given that the extension can launch a debugger, maybe it would be configurable to launch a Minecraft client, like Eclipse does. Has anyone already done this? Is it possible at all? In the end, everything could be done via shell commands, and, theoretically, all the building and launching part are easy: just tell VS which command with which parameters it needs to feed the shell to queue the task (like building using this and that lib, and launching the test client). In my ignorance, I may be oversimplifying the problem.

Link to comment
Share on other sites

I don't know how to make it work. I would need hard directions on what is needed to make this work. I like Eclipse. Well, I don't hate it. But seeing there are 2 main alternatives, one being Eclipse, the other being IntelliJ, I thought a third wouldn't hurt.

Link to comment
Share on other sites

1 hour ago, Is.M.L said:

I don't know how to make it work.

And likely, neither does anyone else.

 

Personally I'd rather use Eclipse for C# instead of Visual Studio, but that's not going to happen any time soon.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

10 hours ago, Is.M.L said:

This extension isn't up-to-date at all, so I'm not so sure how well it will work, but it doesn't work with the newest versions of Visual Studio (like 2017).

Thought I know there are some extensions available for VS Code which are up-to-date: Java Extendsion, Gradle Extension

 

For Gradle related things, it seems like you have to change the build.gradle file a bit: 

https://docs.gradle.org/current/dsl/org.gradle.ide.visualstudio.VisualStudioProject.html

https://www.visualstudio.com/en-us/docs/build/steps/build/gradle

https://stackoverflow.com/questions/32592066/how-to-build-visual-studio-project-under-gradle

 

Thougt it seems to be that you can build Android Apps using VS, so maybe looking into the documentation on how to build Android Apps for VS might help as Android Apps are build using Gradle and Java.

Developer of Primeval Forest.

Link to comment
Share on other sites

1 hour ago, Bektor said:

This extension isn't up-to-date at all, so I'm not so sure how well it will work, but it doesn't work with the newest versions of Visual Studio (like 2017).

Thought I know there are some extensions available for VS Code which are up-to-date: Java Extendsion, Gradle Extension

 

For Gradle related things, it seems like you have to change the build.gradle file a bit: 

https://docs.gradle.org/current/dsl/org.gradle.ide.visualstudio.VisualStudioProject.html

https://www.visualstudio.com/en-us/docs/build/steps/build/gradle

https://stackoverflow.com/questions/32592066/how-to-build-visual-studio-project-under-gradle

 

Thougt it seems to be that you can build Android Apps using VS, so maybe looking into the documentation on how to build Android Apps for VS might help as Android Apps are build using Gradle and Java.

This looks extremely promising! The latest build is failing at the moment, so I'll give it a couple days before installing, but this might be perfect. People from Forge should take a look at this, and maybe create one of those scripts, like .\gradlew vs, if this really is as good as it looks!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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