tutorial:setup:vscode
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
tutorial:setup:vscode [2023/06/12 16:16] – removed - external edit (Unknown date) 127.0.0.1 | tutorial:setup:vscode [2023/06/12 16:16] (current) – ↷ Page moved and renamed from tutorial:vscode_setup to tutorial:setup:vscode mineblock11 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Setting up Visual Studio Code with Fabric ====== | ||
+ | |||
+ | A few plugins are recommended to ensure that you get the best experience possible. You only need to install these once. | ||
+ | |||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | Note that the plugin " | ||
+ | |||
+ | ===== Importing a project ===== | ||
+ | |||
+ | Clone the project into a folder and then open the folder in Visual Studio Code. The IDE should then start importing the Gradle project (if it does not start after about 30 seconds, open the build.gradle file). | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Once this has completed, code completion for game engine code should be present, which should be helpful in mod development. | ||
+ | |||
+ | ===== Generating run configurations ===== | ||
+ | |||
+ | To run the game with debugging support enabled you will need to generate the run configs. This can be done by running the Gradle '' | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Finally, to launch the game, select the debug menu item on the left taskbar. This will then build your mod and launch the game. | ||
+ | |||
+ | ===== Generating minecraft source ===== | ||
+ | |||
+ | If you want to browse the Minecraft source you can use the Gradle '' | ||
+ | |||
+ | Next, you will need to refresh your Java project, this can be done by pressing '' | ||
+ | |||
+ | To search for Minecraft classes you can open the search pane with '' | ||