thymeleaf / thymeleaf-extras-eclipse-plugin

Thymeleaf integration plugin for the Eclipse IDE
http://www.thymeleaf.org
Apache License 2.0
132 stars 30 forks source link

STS not providing Thymeleaf suggetions(proposal) #117

Open chavanrohit9118 opened 1 year ago

chavanrohit9118 commented 1 year ago

STS not providing Thymeleaf suggetions(proposal) .

kpk2714 commented 1 year ago

thymeleaf not suggest in STS

isfce commented 1 year ago

Thymeleaf Completion not working with STS 4.17.0.RELEASE. (JAVA17) Thymeleaf content Assist 3.0.1.202109120458 Always the same message "Content Assist not available at the current location" Any solution? Thanks

isfce commented 1 year ago

Unable to specify Thymeleaf Nature to the project: Problems encountered while setting project description. Plug-in org.thymeleaf.extras.eclipse.core was unable to load class org.thymeleaf.extras.eclipse.nature.ThymeleafNature. An error occurred while automatically activating bundle org.thymeleaf.extras.eclipse.core (594).

isfce commented 1 year ago

Find the solution!: modify "SpringToolSuite4.ini" and add to -vmargs: -vmargs --add-opens=java.base/java.lang=ALL-UNNAMED After restarting, you can now add Thymeleaf Nature to you project and content assist works again.

108

modhudeb commented 1 year ago

You need to enable the Thymeleaf nature...

  1. Install the Thymeleaf Eclipse plugin by going to Help > Eclipse Marketplace and searching for "Thymeleaf"
  2. Once the plugin is installed, right-click on your project in the Project Explorer and go to Configure > Add Thymeleaf Nature.