Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CodeNarc only running for *.groovy files #69

Open
BercziSandor opened this issue Apr 6, 2023 · 1 comment
Open

CodeNarc only running for *.groovy files #69

BercziSandor opened this issue Apr 6, 2023 · 1 comment

Comments

@BercziSandor
Copy link

BercziSandor commented Apr 6, 2023

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:

  • IntelliJ IDEA 2023.1 (Ultimate Edition)
  • CodeNarc 6.1.0
@musketyr
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants