![]() This is where I hit the "Could not find class" error Run the setup gradle task > Run genIntellijRuns gradle task > Run the forge_client gradle task Opened the adle file as a project when opening it in IntelliJ > wait for project setup stuff to finish In both of these documents, the "core step" appears to be to run the forge_client task, which should start the forge client from within the repo. Forge Docs - Contributing to Forge - "Getting Started" (docs on how to contribute to the actual Forge code base).Forge Docs - "Getting Started with Forge" (general modding with Forge docs).I have tried other branches and hit a similar error in the same spot ("Could not find or load main class."), but the class name is different. ![]() Keep in mind that this screenshot is from IntelliJ 2020.3 if you have a different version, it will probably look different (much to our collective dismay □) I've seen many other people with this exact issue, so I think this post may help many others in the future.Īdditionally, I've attached a screenshot of the Run Configuration for the forge_client task. This is all to say that I "generally" know what I am doing, but need some environment setup help since I don't usually use IntelliJ. While I have decent experience with Java, I am normally a Node.js developer (JS, yuck). Additionally, I am not a Java developer in my day job. This issue started once I updated to IntelliJ 2020. To give some context, I have gotten the forge_client task to work in the past I'm positive this is an environment issue, but not sure how to fix it. You have to install the plugin from disk by going to your plugins in IDEA and select "Install plugin from disk".Īlso check out the official FAQ (opens new window).įound any issues, report it on the official bug tracker (opens new window).Fo rge_client gradle task always fails with error "Could not find or load main class " # How do I get it?įill out the survey from JetBrains (opens new window) and you will be redirected to a Google Drive containing the plugin as zip. The plugin is neatly integrated in IntelliJ itself. test execution) or felt counterintuitive. We have tried a bunch of other pair programming or screen sharing tools so far and none of them really did the trick for us because some things were always missing (i.e. Generally speaking, this plugin is looking extremely promising and we will continue to use that plugin at work. For example, if I as a host hit Run on a JUnit test, that test started for both of our IDEs (in case my colleague was following me). There is no screen sharing needed, because pretty much everything done in the host IDE is seen in the guest IDE. This allows to edit different files in parallel or work on the same code collaboratively so only one person edits/debugs/runs and the other one follows. You may either choose to follow one person or work independently. ![]() We both downloaded and installed the plugin and one of us started a session (host) and the other one connected (guest). We did not hesistate to try out the newly released plugin at work for pair programming. The guests use a lightweight client application (reduced version of IDEA). One person needs to start a session as a host and gets an invitation link, up to 5 guests can then join the session using that link. It is completely free to use (besides having an IntelliJ license obviously).Įven better, the guests that are invited do not need a license, only the host does! # Introducing Code With MeĬode With Me is a plugin for IntelliJ IDEA and other JetBrains IDEs that enables you to collaboratively review, edit, and debug code with your colleagues in real time. So I was eagerly waiting for JetBrains to do their magic. VSCode (opens new window) has introduced Live Share (opens new window) end of 2017 and has received much love. Hadi Hariri (opens new window), developer advocate at JetBrains, has already dropped some hints in march 2020 that they have been working on such feature. With pair programming and remote programming becoming more and more common (especially during a global pandemic), the need for a proper tool has risen immensly. This issue has become the top voted issue in the entire issue tracker with over 2180 votes. On the 5th of february 2005, Maxim Sharifov created the ticket "Collaborative development" (opens new window) on the JetBrains issue tracker. # Collaborative development in IntelliJ IDEA
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |