-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JSP support #64
Comments
You can try switching the file type in Brackets (lower right corner), but I'm assuming it won't parse right - or will get 'confused' by the JSP. |
I've already tried to switch the file type, but it doesn't recognize the JSP token in order to extract the JS code to hint. Is it possibile to extend the plugin to accomplish that? Thak you very much! |
Possible, but it doesn't feel like a good to me. I'd suggest simply moving the JS into its own file, which is recommended anyway, right? |
You are right, but I have some parte of my code which have to be built starting from some STRUTS2 instructions. Is it a way to accoplish that, or I have to rewrite my code as suggested from you? Thank you, |
Right now code linters in Brackets register to a particular file type. You could modify it to check all file types and modify the extension to look for <script> blocks. I just don't think that is a good idea. |
Is it possibile to hint JS code inside a JSP file?
Thank you!!!
The text was updated successfully, but these errors were encountered: