Webstorm is marking some files as Libraries

Hi!

i've being struggling with this issue for some time, i start working on some .js file and later on Webstorm convert it to a external library and puts this icon instead

then start asking if i want to modify this external library file, does anyone knows how to solve this issue?

 

Thanks!!

6 comments

does renaming the file help? do you have any file watchers/compilers producing/updating .js files? Check if you have a Generated files library in Preferences | Languages & Frameworks | JavaScript | Libraries

0

Hi Elena,

i have prettier setup as a file watcher, and i also have a Generated files library, should i delete it?

0

Yes, please try deleting it - does it help?

0

Yes!! i deleted  it and the files come back to normal, but when the file watcher executes they turn back again.

Is there a way to disabled Generated files library?

Thanks Elena!!

0

what file watcher(s) do you use? If Prettier is your only file watcher, then upgrading to the most recent WebStorm version should help - https://youtrack.jetbrains.com/issue/WEB-31413 is fixed there

0

I updated my webstorm and everything is working fine now,

 

Thanks Elena for your help!!

1

Please sign in to leave a comment.