liferay / liferay-intellij-plugin

Other
24 stars 30 forks source link

disable to index the bundles folder in Liferay workspace project #66

Closed jtydhr88 closed 6 years ago

jtydhr88 commented 6 years ago

after run initBundle, there will be bundle folder (tomcat) inside the Liferay workspace project. Intellij Ultimate will auto-detect this folder. 1 2 should to disable to index this folder.

dmarks2 commented 6 years ago

Hey @jtydhr88, that could probably be done by marking the bundle directory as an excluded folder. As far as I know excluded folders are not examined or indexed by IntelliJ.

I my own plugin I do the same for "build" and "dist" directories which are created by npm/gulp when you compile a theme or layout template.

See an example here: https://github.com/dmarks2/liferay-plugin-intellij/blob/e80983753ed4f2cdbda5368f5a704f9098b14b0f/src/main/java/de/dm/intellij/liferay/theme/LiferayPackageJSONParser.java#L95

jtydhr88 commented 6 years ago

thanks a lot @dmarks2, I will take a look at it later

jtydhr88 commented 6 years ago

Moved to JIRA project: https://issues.liferay.com/browse/INTELLIJ-3