VS Code 中的文件路径自动完成 [英] File path autocomplete in VS Code
问题描述
VS Code 是否具有文件路径的自动完成功能?例如如果我想写js的完整路径:"assets/libs/jquery.min.js"
Brackets.ie 等编辑器默认执行此操作.
Visual 代码本身没有 Path 智能感知,但您可以使用此插件.
按 f1 并将其复制到其中:ext install path-intellisense
是Christian Kohler做的插件,都是他的道具.
另外,正如 Searene 在评论中提到的,您可能还想在用户设置中设置 "path-intellisense.absolutePathToWorkspace": false
以使绝对路径的自动完成工作.>
Has VS Code an autocomplete function for file paths?
For e.g. if I want to write the full path to js: "assets/libs/jquery.min.js"
Editors like Brackets.ie does this by default.
Visual code by itself has no Path intellisense, but you can use this plugin.
press f1 and copy this in it: ext install path-intellisense
Its a plug-in made by Christian Kohler, all props to him.
Plus, as Searene mentions in the comments, you may also want to set "path-intellisense.absolutePathToWorkspace": false
in User Settings to make the auto-completion of absolute paths work.
这篇关于VS Code 中的文件路径自动完成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!