javascript

1. Created a new project with Node.js and Express app

2. All other ".js" files are recognized by webstorm and working well  but when I am creating one "app.js" file then there is no any auto completion, no any decorators and no any intellisense. Webstrom just simple shows the script as a plain code. why?

0
2 comments

Hi there,

Please show a screenshot of such file (including the editor tab -- I'm interested in the file icon)

But so far it sounds like you somehow marked it (that file) as plain text. Please do this:

  • Settings/Preferences | Editor | File Types
  • Locate "Text" entry in top list
  • Find and remove unwanted pattern in bottom list -- will be "app.js" or similar.
1
Avatar
Permanently deleted user

Thanks Andriy Bazanov. Problem solved.

0

Please sign in to leave a comment.