liferay / liferay-intellij-plugin

Other
24 stars 30 forks source link

It has to restart the IDEA to make the jsp context works #71

Closed jtydhr88 closed 6 years ago

jtydhr88 commented 6 years ago

create Liferay Workspace project and create a mvc portlet open the view jsp, the jsp include tag will be marked as not found. 6 7 but it will be ok after restart the IDEA. 8 9 we should fix it to no need to restart.

dmarks2 commented 6 years ago

Hey @jtydhr88 , in my own plugin I tried to solve this problem by using a VirtualFileListener which listens to changes to the directory META-INF/resources. So as soon as you create a directory META-INF/resources and put at least one file in it, the Web Facet will be added. Maybe you can try that so solve the problem.

jtydhr88 commented 6 years ago

Thanks @dmarks2, Greg and I are busy on IDE release this week, we will plan to release the version of idea plugin next week or next next week.