简体   繁体   English

如何删除PyCharm中已删除的py文件的运行配置文件?

[英]How to delete run configuration file for a py file that was already deleted in PyCharm?

I have already deleted the .py but in the configuration the file still shows in the run tab in PyCharm.我已经删除了.py但在配置中该文件仍显示在 PyCharm 的运行选项卡中。

Got to "Edit configurations", and select the configuration you want to remove.转到“编辑配置”,然后 select 是您要删除的配置。 Then on top you see + - ... .然后在顶部您会看到+ - ... 。 The - key will delete the selected configuration. -键将删除选定的配置。

The interface style of JetBrain is not so obvious for many people: it uses the macos paradigm and not the Microsoft paradigm. JetBrain 的界面风格对很多人来说并不是那么明显:它使用的是 macos 范式,而不是微软的范式。 But when you get used on it, you will find also some advantages (being powerful and compact is one).但是当你使用它时,你也会发现它的一些优点(强大和紧凑就是其中之一)。

To remove a "Run/Debug Configuration" go to Run > Edit Configurations select the configuration you want and click the - minus sign, show in the picture:要删除“运行/调试配置”go 以Run > Edit Configurations select 所需的配置,然后单击-减号,如图所示:

在此处输入图像描述

Reference to the PyCharm documentation - "Create a run/debug configuration" .参考 PyCharm 文档 - “创建运行/调试配置”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM