Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Spring Tool Suite IDE not highlighting JSP files

I have to create a Spring Boot WEB app but the JSP pages are show as plain text without any highlight or marker.

How to configure STS to show JSP files as Eclipse do?

Using STS 4.0.0.M12.

like image 632
Magno C Avatar asked Jul 27 '18 12:07

Magno C


People also ask

How do I open a JSP file in Spring Tool Suite 4?

You will have to install the plugin "Java Enterprise Java & Web Developer Tools" form Eclipse Marketplace in your Spring Tool Suite to show JSP files in the Eclipse editor. Install & choose to restart the IDE when prompted by IDE. Save this answer.

How do I view a JSP file in Eclipse?

Go to Window-> Preferences -> General-> Editors-> File Associations. In the File Types pane, choose *. jsp and in the associated editors pane, set your default JSP editor..

Is Spring Tool Suite based on Eclipse?

Spring Tool Suite (STS) is a java IDE tailored for developing Spring-based enterprise applications. It is easier, faster, and more convenient. And most importantly it is based on Eclipse IDE.


1 Answers

STS to show JSP files as Eclipse does you have to install the plugin form eclipse marketplace.

On your, STS go to

help> eclipse marketplace

and search for

Eclipse Java EE Developer Tools

click install when it's completely installed simply restart the IDE, now you can create jsp file

like image 84
Sarkar Avatar answered Nov 18 '22 13:11

Sarkar