'eclipse .js syntax highlighting for .jsp files

I want to have JS syntax highlighting on my .jsp files. Syntax highlighting for .js files work fine, but as soon, as I rename the file to .jsp, the syntax highlighting switches to the default .jsp highlighting(which I don't need at all). I tried to fuzz around with the settings, but I am not able to remove the default JSP Editor, as it appears to be locked and not changeable as the "Remove" Button for the associated editors is not clickable(?). I think I would just need to remove the JSP Editor entry here, as the TextEditor/GenericTextEditor would bring the JS syntax highlights with it(?). Here some screens of my settings: the setting for .js files, which are working perfectly fine for js highlighting: settings for .js files and the settings for .jsp files, which are not working properly: settings for .jsp files last screen shows the highlighting as is on the .jsp files(which are obviously not working): code highlighting example

any hints are highly appreciated ;)

edit: tried the solution from comments. although it does not fix the syntax highlighting, it does something. eclipse now tries to validate the code which goes wrong. here a screen of the added entry and the result in the editor: enter image description here enter image description here

edit: after updating my eclipse the issue remains. version of wild web developer is now 0.10.12.202202041634: enter image description here eclipse itself is now on version 2022-03 (4.23.0): enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source