Open antonio-petricca opened 9 years ago
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, Antonio
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 Githubissues.
Is it possibile to hint JS code inside a JSP file?
Thank you!!!