-
Notifications
You must be signed in to change notification settings - Fork 58
Add JSP snippets #66
base: master
Are you sure you want to change the base?
Add JSP snippets #66
Conversation
After using this for myself for some time I discovered a usability problem with the JSTL Tag Snippets: <c:if<tab> results in
because |
Or is it possible to use a regex like |
The closing tag was not closing.
I figured it would be nice if "tag snippets" would only work outside of tags. So that this: <div out[tab]>
</div> wouldn't result in this: <div <c:out value="${}"/>>
</div> |
Hmm. |
@50Wliu I've done some research on that Now I could do two things:
I prefer the first method, but I don't like that this means I have to duplicate all the code. |
Pressing tab after `<c:if` previously produced `<c:<c:if...`.
I fixed this problem in the last commit. It's not perfect because it adds some redundancy, but I think it's the best we can get. Correct me if I'm wrong. |
See: JSP Syntax on Tutorialspoint and JSP - Standard Tag Library on Tutorialspoint