{"action":"created","issue":{"url":"https://api.github.com/repos/consulo/consulo-javaee/issues/2","repository_url":"https://api.github.com/repos/consulo/consulo-javaee","labels_url":"https://api.github.com/repos/consulo/consulo-javaee/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/consulo/consulo-javaee/issues/2/comments","events_url":"https://api.github.com/repos/consulo/consulo-javaee/issues/2/events","html_url":"https://github.com/consulo/consulo-javaee/issues/2","id":230265311,"number":2,"title":" Support for JSP declaration tags","user":{"login":"unv-unv","id":16825982,"avatar_url":"https://avatars3.githubusercontent.com/u/16825982?v=3","gravatar_id":"","url":"https://api.github.com/users/unv-unv","html_url":"https://github.com/unv-unv","followers_url":"https://api.github.com/users/unv-unv/followers","following_url":"https://api.github.com/users/unv-unv/following{/other_user}","gists_url":"https://api.github.com/users/unv-unv/gists{/gist_id}","starred_url":"https://api.github.com/users/unv-unv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unv-unv/subscriptions","organizations_url":"https://api.github.com/users/unv-unv/orgs","repos_url":"https://api.github.com/users/unv-unv/repos","events_url":"https://api.github.com/users/unv-unv/events{/privacy}","received_events_url":"https://api.github.com/users/unv-unv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-05-22T01:44:27Z","updated_at":"2017-05-23T14:54:19Z","closed_at":null,"body":"In complex JSP files you may have an internal declarations (custom fields of the servlet, inner classes, etc).\r\n\r\nI have an [extreme example](https://yadi.sk/d/qklAN8T13J47Jn) of such JSP which mainly consists of internal class declarations embraced with <%! and %> tags. Such part should be treated as Java-code and syntax highlighting in Consulo seems to be aware of it. Though code inspections, refactorings and such treat this fragments as HTML code and warn about unusual HTML tags here and there.\r\n\r\nIdea Ultimate Edition treats these parts of JSP correctly, though this functionality was not ported to Community Edition. Would be nice to have more correct support for JSP files in Consulo with JavaEE plugin installed.\r\n\r\nSimplified code example:\r\n\r\n```\r\n<%@ page import=\"\r\n    java.lang.*,\r\n    java.io.*\r\n\"%>\r\n<%!\r\nclass Test\r\n{\r\n    public static final String HTML = \"<html>\\n\" +\r\n    \"<head><title>Hello, World!</title></head>\" +\r\n    \"<body><div>Hello, World!</div></body>\\n\" +\r\n    \"</html>\";\r\n}\r\n%>\r\n<%\r\n    out.print(Test.HTML);\r\n%>\r\n```\r\n\r\nScreenshot in Consulo 2.0 build 1696:\r\n\r\n![consulo_test jsp](https://cloud.githubusercontent.com/assets/16825982/26289411/87eab076-3ea8-11e7-91f4-718c610d5b00.png)\r\n"},"comment":{"url":"https://api.github.com/repos/consulo/consulo-javaee/issues/comments/303424092","html_url":"https://github.com/consulo/consulo-javaee/issues/2#issuecomment-303424092","issue_url":"https://api.github.com/repos/consulo/consulo-javaee/issues/2","id":303424092,"user":{"login":"VISTALL","id":542934,"avatar_url":"https://avatars0.githubusercontent.com/u/542934?v=3","gravatar_id":"","url":"https://api.github.com/users/VISTALL","html_url":"https://github.com/VISTALL","followers_url":"https://api.github.com/users/VISTALL/followers","following_url":"https://api.github.com/users/VISTALL/following{/other_user}","gists_url":"https://api.github.com/users/VISTALL/gists{/gist_id}","starred_url":"https://api.github.com/users/VISTALL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VISTALL/subscriptions","organizations_url":"https://api.github.com/users/VISTALL/orgs","repos_url":"https://api.github.com/users/VISTALL/repos","events_url":"https://api.github.com/users/VISTALL/events{/privacy}","received_events_url":"https://api.github.com/users/VISTALL/received_events","type":"User","site_admin":false},"created_at":"2017-05-23T14:54:19Z","updated_at":"2017-05-23T14:54:19Z","body":"Hi. I am started working on JSP part. Now it's parse better JSP code. \r\n\r\nExample\r\n\r\n![](http://klikr.org/8e4e27484dde4ac2e424c52538aa.png)\r\n"}}
{"actor":{"display_login":"VISTALL"}}