thymeleaf-extras-eclipse-plugin icon indicating copy to clipboard operation
thymeleaf-extras-eclipse-plugin copied to clipboard

Latest Eclipse is showing errors on javascript thymeleaf items

Open rstubbe opened this issue 5 years ago • 0 comments

Since the last version of Eclipse all the thymeleaf inline components in the the javascipt are shown as an error. The code is correct and works fine.

for example:

	<script th:inline="javascript">
		$(document).ready(function() {
			/*<![CDATA[*/ var context = [[@{/}]]; /*]]>*/

The hint shows

Multiple annotations found at this line:
	- Declaration or statement expected.
	- Property assignment expected.
	- Expression or comma expected.
	- Unterminated regular expression literal.
	- Expression expected.
	- Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option in your 'tsconfig' or 'jsconfig' to remove this 
	 warning.

and in the problem tab:

Description	Resource	Path	Location	Type
',' expected.	contract.html	/set/src/main/webapp/WEB-INF/templates/fragments	line 1450	Language Servers

rstubbe avatar Oct 09 '20 11:10 rstubbe