首页 > 解决方案 > 如何在 spyder 中禁用函数签名的自动完成

问题描述

在 Spyder 编辑器中键入函数时,例如 fcn(,我发现 Spyder 经常会自动将整个函数签名输入到编辑器中。这在实例化数据类对象时尤其无用——Spyder 显然仍然无法读取数据类字段——在使用注释时更没用,我经常这样做。如何禁用此功能?我正在使用 Spyder 4.1.1。

标签: spyder

解决方案


你可以试试这个: In Tools > Preferences > Completion and Linting > Advanced and disable Enable fallback completionsandEnable code completion

Tools > Preferences > Editor > Code introspection 取消选中您不想要的选项。


推荐阅读