Reputation: 6742
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.
Upvotes: 59
Views: 64203
Reputation: 649
Path Intellisense does not work for me, but Path Autocomplete works for me.
Installation:
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
ext install ionutvmi.path-autocomplete
You can also install it in the extensions tab(Ctrl+Shift+X).
Upvotes: 14
Reputation: 764
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.
Upvotes: 75