User Tools

Site Tools


tutorial:setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
tutorial:setup [2020/04/27 06:25] – ./gradlew, not .gradlew upcraftlptutorial:setup [2020/07/27 23:18] – [MinecraftDev IntelliJ IDEA Plugin] Upstream now supports Fabric comp500
Line 32: Line 32:
     - Open the 'Gradle Settings' dialog from the Gradle tab.     - Open the 'Gradle Settings' dialog from the Gradle tab.
     - Change the 'Build and run using' and 'Run tests using' fields to 'IntelliJ IDEA'.     - Change the 'Build and run using' and 'Run tests using' fields to 'IntelliJ IDEA'.
-    - Go to File -> Project Structure -> Project and set 'Project compiler output' to the 'out' subdirectory of your project, if it isn't set yet. This directory doesn't have to exist, IDEA will create it when compiling the project for the first time. (Tip: Use the 'Project Directorybutton in the directory select dialog to quickly jump to your project directory.)+    - Go to File -> Project Structure -> Project and set 'Project compiler output' to ''$PROJECT_DIR$/out''.
  
 Unfortunately, it is currently impossible to set an IDE-wide default for the 'Build and run using' and 'Run tests using' options, so these steps have to be repeated for every new project. Unfortunately, it is currently impossible to set an IDE-wide default for the 'Build and run using' and 'Run tests using' options, so these steps have to be repeated for every new project.
Line 50: Line 50:
  
 ==== MinecraftDev IntelliJ IDEA Plugin ==== ==== MinecraftDev IntelliJ IDEA Plugin ====
-If you are using IntelliJ IDEA you can use Earthcomputer's experimental fork of the MinecraftDev plugin. This fork adds support for automatically generating Fabric projects as well as some mixin related features like inspections and generating accessors. +If you are using IntelliJ IDEA you can use the MinecraftDev plugin. This plugin adds support for automatically generating Fabric projects as well as some mixin related features like inspectionsgenerating accessors/shadow fields, and the Copy Mixin Target Reference context menu option
-You can follow [[https://github.com/Earthcomputer/MinecraftDev/blob/dev_new/readme.md#installation|these instructions]] to install the plugin.+The plugin can be found [[https://plugins.jetbrains.com/plugin/8327|in the IntelliJ plugin repository]] so you can install it using IntelliJ's internal plugin browser, by navigating to File → Settings → Plugins, then clicking the Marketplace tab and searching for Minecraft.
  
 ===== Getting started ===== ===== Getting started =====
tutorial/setup.txt · Last modified: 2024/04/15 00:35 by solidblock