What are fallback completions in Spyder?

随声附和 提交于 2020-05-16 08:59:16

问题


There is an option in the Spyder IDE (Tools->Preferences->Completion and linting->Advanced) to activate fallback completions:

What are fallback completions, how are they supposed to work and help? I have googled it and not found a description.

Note this question was inspired by this question complaining (implicitly) about fallback completions: How to disable keyword / text suggestion in Spyder 4?

There, it isn't really explained what this feature is supposed to be, how it is supposed to work, but basically how to turn it off using the above interface. I am not trying to turn them off I am trying to find out what exactly are fallback completions, and how are they different from other types of completion going on?


回答1:


(Spyder maintainer here) Fallback completions are those completions provided by the tokens present in the file (i.e. any word on it, be it code, comments or strings), plus some Python builtin keywords (e.g. finally).



来源:https://stackoverflow.com/questions/60332187/what-are-fallback-completions-in-spyder

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!