K
K
Kotaro Hiba2020-11-04 23:26:04
webstorm
Kotaro Hiba, 2020-11-04 23:26:04

How to make the IDE understand paths?

Hello everyone, version 2020.2, but in principle, older ones also have this problem.
How to teach an IDE to understand and autocomplete paths.
The Vue framework, installed according to the classics 'vue create' via the console
5fa30e1eb8447346126739.jpeg
, but if you write it like that, everything is OK, though the path is not correct and the picture does not show
5fa30e36692d6311590964.jpeg
, please tell me where you can fix it, in principle, I can register the paths with pens, it's really annoying that he constantly highlights they say an error the path is not correct

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Daniil Maslov, 2020-11-05
@lina666

Make the folder containing the sources as Source Root by clicking on the folder in the project tree, then Mark Directory As.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question