增加spyder模块代码提示功能
找到C:\Users\yue(自己电脑)\Anaconda3\envs\tensorflow-gpu\Lib\site-packages\spyder\utils\introspection
也就是自己在TensorFlow虚拟环境下安装的Spyder文件
打开module_completion.py拉到最后,然后看到mods,输入想要提示的模块。
spyder 代码自动补齐设置方式
toors->preferences->IPython console->advanced Settings 选中Use the greedy completer,还有就是Autocall换位Full。
注意
上述只能做到部分补全,在Spyder右下角ipython模块的补全效果还凑合,按tab键,要不就去装个pycharm或者jupyter。。
参考
https://blog.youkuaiyun.com/pursuit_zhangyu/article/details/79622150