User Tools

Site Tools


tutorial:vscode_setup

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
tutorial:vscode_setup [2020/06/29 06:42]
ezraen [Generating minecraft source]
tutorial:vscode_setup [2020/06/29 06:44] (current)
ezraen [Generating run configurations]
Line 17: Line 17:
 ===== Generating run configurations ===== ===== 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 `vscodetask in GradleThe easiest ​way to open a terminal window is to go to _View_ ​-> _Terminal_. This will then open a terminal ​pane in the correct ​directory. Next, run `.\gradlew vscode- this will automatically generate the necessary launch.json file containing the run configs.+To run the game with debugging support enabled you will need to generate the run configs. This can be done by running the Gradle ''​vscode'' ​task. One way to open a terminal window is to go to //​View// ​-> //​Terminal//​. This will then open a Terminal ​pane in the project ​directory ​open. Next, run ''​./gradlew vscode'' ​- this will automatically generate the necessary launch.json file containing the run configs.
  
 {{:​setup:​vscode_gradle.png?​400|}} {{:​setup:​vscode_gradle.png?​400|}}
  
-Finally, to launch the game, select the debug menu item on the left. This will then build your mod and launch the game.+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 ===== ===== Generating minecraft source =====
tutorial/vscode_setup.txt · Last modified: 2020/06/29 06:44 by ezraen