I am using PHPStorm 4.0.3 and I’m working a project that includes JSP files. Changing the ide is not an option. I would like PHPStorm to treat JSP files as HTML when it comes to code formatting.
To format the HTML code I select the entire contents and click on the Menu item “Code” –> “Reformat Code”. This works in html files but not in JSP.
Any help would be greatly appreciated.
To treat JSP files as HTML you can change the mappings in
File|Settings| File Types, add*.jsptoHTML Files.