Angular modules, directives, services etc can't resolve, show unused and missing imports for external and library

Hi,

All of a sudden I'm running into a issue where Webstorm can't seem to resolve external and library modules. For instance, it shows all my methods in my services located in my library as unused.

7 comments
Comment actions Permalink

Most probably Angular support is not enabled. Are Angular directives, etc. recognized in HTML files? Please select your .html file in the Project tool window and hit F1 (View | Quick Documentation) - what docs are shows? Please attach a screenshot.

Your idea.log (Help | Show Log in ...) would be also helpful

0
Comment actions Permalink

It tells me it's an HTML (Angular HTML template)

I cannot upload a log here since it only accepts img extensions.

0
Comment actions Permalink

As it recognizes your HTML as Angular template, Angular support is on. So it must be a different problem.

Did you try invalidating caches (File > Invalidate caches, Invalidate and restart)?

 

0
Comment actions Permalink

At least a hundred times already :)

0
Comment actions Permalink

can you share a project that can be used to recreate the issue?

0
Comment actions Permalink

Sadly I cannot. I still have these issues though where Webstorm is unable to resolve my library.

0
Comment actions Permalink

If you can't share your actual code, try composing a sample project that shows up the issue

0

Please sign in to leave a comment.