VS Code python 使用中编辑
发布时间
阅读量:
阅读量
VS Code python 使用笔记之 editing
前言
下篇文章负责处理 tutorial 全文翻译工作, 耗时耗力且效果也不尽如人意. 因此, 在未来的学习笔记中我们只需提炼并整理出重点内容即可. 实践表明认真研读使用手册确实大有裨益, 掌握了许多实用技巧.
自动补全和智能感知
通过自定义包路径增强智能感知功能
对于那些安装在非标准位置的包,在Python自动提示功能的相关参数设置中指定python.autoComplete.extraPaths路径变量的值时能够实现智能感知功能。例如,在自定义路径中安装Google App Engine时,请按照以下步骤操作:
Windows:
"python.autoComplete.extraPaths": [
"C:/Program Files (x86)/Google/google_appengine",
"C:/Program Files (x86)/Google/google_appengine/lib" ]
macOS/Linux:
"python.autoComplete.extraPaths": [
"~/.local/lib/Google/google_appengine",
全部评论 (0)
还没有任何评论哟~
