melix / codenarc-idea

11 stars 10 forks source link

CodeNarc only running for *.groovy files #69

Open BercziSandor opened 1 year ago

BercziSandor commented 1 year ago

We have *.template files, which are actually groovy files. I had to add "*.template" in Settings/Editor/File types/Groovy , so IntelliJ handles these files as standard Groovy files. I don't see the result of CodeNarc scan: I think that the CodeNarc plugin doesn't get this settings. It would be good if the plugin would get this from IntelliJ.

Versions:

musketyr commented 1 year ago

Hi, sorry for a late reply. I'm afraid there's a prebuilt filename list which is not synced with the IntelliJ settings. You would have to update the individual rules. Let's keep this issue open to track a potential improvements in this area.