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

Plugin does not respect Project_Default.xml #31

Open
MatanSabag opened this issue May 27, 2020 · 0 comments
Open

Plugin does not respect Project_Default.xml #31

MatanSabag opened this issue May 27, 2020 · 0 comments

Comments

@MatanSabag
Copy link

Hello!

Details:

  • I am using the plugin version 0.3.2.
  • The idea version I configured is: "ideaIC:2019.1"
  • InheritFromIdea=true.
  • The project is a single(flat) Gradle project
  • I have a custom .idea/inspectionProfiles/Project_Default.xml. Looks like this: Link

The Issue:
When I run inspectionsMain, the plugin does not respect the file.
I tried few changes, but no matter what I do the plugin does not care about the custom project_default.xml file.

Debugging
I tried to debug it with --info and what I see is: (relevant parts)

InspectionPlugin: Before SDK configuration
InspectionPlugin: Configuring JDK 1.8
InspectionPlugin: Home path is /Library/Java/JavaVirtualMachines/jdk1.8.0_221.jdk/Contents/Home, version string is java version "1.8.0_221"
InspectionPlugin: Before project creation at '/private/tmp/health/eng-prod'
InspectionPlugin: Project SDK name: 1.8
InspectionPlugin: Project SDK: 1.8: java version "1.8.0_221" (/Library/Java/JavaVirtualMachines/jdk1.8.0_221.jdk/Contents/Home)
InspectionPlugin: Under analysis: pure Java module Module: 'eng-prod' with SDK: 1.8: java version "1.8.0_221" (/Library/Java/JavaVirtualMachines/jdk1.8.0_221.jdk/Contents/Home)
InspectionPlugin: Before psi manager creation
InspectionPlugin: Before virtual file manager creation
InspectionPlugin: Before inspections launched: total of 72 files to analyze
InspectionPlugin: InheritFromIdea = true
InspectionPlugin: Error inspections: []
InspectionPlugin: Warning inspections: []
InspectionPlugin: Info inspections: []
InspectionPlugin: Profile file = Project Default
InspectionPlugin: Registered inspections: {}
InspectionPlugin: Inspections from idea: <<<HUGE_LIST_OF_INSPECTION=SEVERITY>>

Is this a bug or am i doing something wrong? I tried to follow the exact instructions

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

1 participant