英文:
IntelliJ does not show "Applications" as an option in Run/Debug Configurations
问题
我正在观看一个关于如何制作适用于 Minecraft 1.15.2/1.16.3 版本的模组的教程。用于编写代码和管理文件的程序是 IntelliJ。我已经观看了这个视频,在视频中他展示了如何将“应用程序”选项卡添加到“运行/调试配置”窗口中。然而,这个应用程序选项卡在我的环境中并没有显示出来。视频中提供的一个解决方法是重新加载磁盘,但这对我并不起作用。我需要另一种方法来获取能够让我运行客户端的应用程序选项卡。
英文:
I am watching a tutorial on how to make minecraft mods for 1.15.2/1.16.3. The program used to write the code and manage the files is IntelliJ. I have watched this episode in which he shows how to add the "applications" tab to the Run/Debug Configuration window. The applications tab does not show up for me. A solution he gave in the video was to reload the disk, but it does not work for me. I need another way to get the application tab that allows me to run the client.
答案1
得分: 1
所以,在其他论坛上询问之后,我得到了这个答案。
我忘记运行“gradlew genIntellijRuns”。要做这个,请按照以下步骤进行:
1)打开命令提示符
2)转到保存你的模组文件夹的文件位置
3)输入“gradlew genIntellijRuns”,然后等大约一分钟。
完成这些步骤后,你可以重新启动IntelliJ,选项卡将会显示出来。
英文:
So, after asking in other forums, I got this answer.
I forgot to run "gradlew genIntellijRuns". To do this, follow these steps:
- Open Command Prompt
- Go to the file location where your mod folder is held
- Type in "gradlew genIntellijRuns" and wait about a minute.
After these steps you can restart IntelliJ and the tab will show up.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论