bobi / aem-groovyconsole-plugin

AEM Groovy Console IntelliJ Plugin
Apache License 2.0
4 stars 1 forks source link

Support for .groovy file extension #52

Closed nhirrle closed 2 years ago

nhirrle commented 2 years ago

Hi

First of all, thanks for your great work, the plugin is pretty cool.

I tried to setup the following but doesn't seem to work as I cannot see the extra bar with "Run on" image

Do you support file extension .groovy as well? If so, could you maybe give me a hint how to configure?

Thanks, Nicolas

bobi commented 2 years ago

.groovy file extension does not support. aemconsole extension was introduced to separate regular groovy files and aemconsole groovy files, to handle code completion only for specific file extension, but not for all groovy files.

What is the issue to use aemconsole file extension?

nhirrle commented 2 years ago

Thanks @bobi The usecase is simple: I do have existing groovyscripts and don't want to rename them if not required but still use the plugin.

bobi commented 2 years ago

I'll take a look what can be done

bobi commented 2 years ago

i have added ability to mark folder as "AEM Scripts Source Root", so all groovy files in marked folder will be treated as AEM Scripts. This feature will be available in next release.

Screenshot