Runtime Terror
Runtime Terror

Reputation: 6742

File path autocomplete in VS Code

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

Answers (2)

Cyrus Yip
Cyrus Yip

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

Luka Zadel
Luka Zadel

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

Related Questions