A
A
Andrey Okhotnikov2019-06-04 23:28:24
JavaScript
Andrey Okhotnikov, 2019-06-04 23:28:24

Auto-import in Webstorm and absolute paths?

How to configure auto-import of files if my import is implemented through absolute paths?
That is, I import a file like this /components/file, and webstorm imports relative to ../../componentns/file

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Proskurin, 2019-06-04
@tsepen

Usually, for any question about someone else's IDE, I advise you to use VS Code, but now, okay, I won’t :-)
Here is https://www.jetbrains.com/help/webstorm/2018.1/set... parameter "Use paths relative to the project, resource or sources roots"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question