Sublime Forum

Autocomplete in JSP files with JSTL

#1

Being recently switched to Sublime Text I notice the lack of JSP/JSTL support.
While almost every filetype has autocomplete I see it isn’t supported for JSP files.

Example: when I have:

<c:forEach var="kittens" items="kitten">
    <c:set var="name" value="kitten.name" />
</c:forEach>

It would be great if I could get autocomplete for ‘kitt…’, ‘nam…’ , etc… You catch my drift?

Is this not working because the scope for JSP files is ‘text.html.jsp’? And not something like source.jsp?
Can I do something about it? Is there a way to support this? Maybe I can make a plugin for it (any examples?)?

BTW: I have the same problem with snippets in JSP files: No autocomplete popup in JSP files for snippets

0 Likes