简体   繁体   English

如何在Eclipse中禁用蚂蚁

[英]How to disable ant in eclipse

I am new to Python and only installed Eclipse + Pydev as the autoformatting possibilities would help me with the annoyingly stringent indentation rules of Python, which weren't being caught by Geany for example. 我是Python的新手,只安装了Eclipse + Pydev,因为自动格式化的功能将帮助我解决Python令人讨厌的严格缩进规则,例如Geany并没有抓住这些规则。 (These have cost me HOURS of futile searching for even very simple intentaion problems). (这些花费了我数小时的徒劳搜索甚至是非常简单的意图问题)。

I don't need Java or Jython (yet), so how do I disable the interference from Ant at Run time? 我不需要Java或Jython,但如何在运行时禁用来自Ant的干扰?

Or is there another IDE with autoformatting that doesn't need Java support that would be better suited? 还是有另一个具有自动格式化功能的IDE不需要更适合的Java支持?

Ant doesn't run in Eclipse at runtime unless you have an Ant builder on the project. 除非您在项目上有一个Ant构建器,否则Ant不会在运行时在Eclipse中运行。 (it might be something else causing whatever behavior is bothering you.) That said, Eclipse is a heavy IDE if you only want it for the formatting help. (这可能是导致任何行为困扰您的其他原因。)也就是说,如果您只希望Eclipse获得格式化帮助,那么它就是一个笨拙的IDE。 If you are using other features like debugging, PyDev is helpful. 如果您正在使用调试等其他功能,PyDev会有所帮助。

You might consider a lightweight IDE. 您可能考虑使用轻量级的IDE。 NotePad++ has a Python plugin . NotePad ++具有Python插件

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

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