pjs
pjs

Reputation: 2731

Is it possible to auto complete relative paths in VSCode

One of the features of the atom editor that has kept me using it for so long is when I am doing modular imports of ES6 style classes in my local project structure.

Typing something like

import './SomeDir/'

would result in an intellisense/autocomplete panel showing a list of files and folders in that path.

I was surprised that VSCode didn't do this out of the box, but I'm now wondering if there is just something I must enable to get it working. Or perhaps there is an outstanding issue at their github page that I could start following?

Upvotes: 5

Views: 3004

Answers (2)

Wade Anderson
Wade Anderson

Reputation: 2519

This is not a current feature of VS Code, but it would be a slick one.

Upvotes: 1

pjs
pjs

Reputation: 2731

The extension has been completed and is available here and works very well.

Upvotes: 2

Related Questions