-1

enter image description here

This is how it looks like inside file

enter image description here

I did this eclipse preference also :

enter image description here

Wasim
  • 29
  • 3

1 Answers1

0

Check in Window -> Preferences -> General -> Editors -> File Associations. For *.js file type select any relevant script editor as default (For e.g JS Editor) in the Associated editors window and apply.

If *.js is not present under file types, add it and select JS Editor as default in Associated Editors pane.

Venkata Rathnam
  • 348
  • 1
  • 5