Sublime Forum

Fix JSP comments toggling

#1

In build 3156 JSP comments are not toggled but accumulated. Please fix it. Thanks.

0 Likes

#2

seems to work fine here, maybe you can provide specific steps to reproduce it?
also, you can log it at


(assuming it’s not caused by a third party package you have installed / customization you have made etc.)

0 Likes

#3

Test JSP text:

    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
    <%@ taglib prefix="s" uri="http://www.springframework.org/tags"%>
    <s:url value="action" var="form_action" />

It seems that the taglibs break the syntax recognition (it is seen in the color highlighting in the clean Sublime Text install with the default color scheme). The first taglib commenting is toggled well, but the next lines accumulate comments inside comments, but should add/remove them instead.


GitHub issue: https://github.com/sublimehq/Packages/issues/1271.

1 Like