InteliJ has this awesome ability to launch the Inspections from CLI but for some reason using an inspection profile that only includes MethodNamesInspection does not produce any XML report output 😕
The same profile, but run in-IDE, seems to produce the results using Analyze->Inspect Code or Analyze->Run Inspection by Name -> Show method name suggestions.
Although it's still a bit surprising that the number of the results in the output vary between the consecutive runs over the same codebase, with the same settings (from 1 to 10, including suggestions for code snippets in Markdown files).
Steps to reproduce:
- build&install this plugin
- clone and import any java project (tested on this, e.g under
~/$project)
- create a new inspection profile that only includes
MethodNamesInspection
e.g by making a copy of the default one Project_Default_copy, disabling everything and enabling this one by the name
- run the inspection from CLI e.g
/Applications/IntelliJ\ IDEA\ CE.app/Contents/bin/inspect.sh \
~/$project \
~/$project/.idea/inspectionProfiles/Project_Default_copy.xml \
~/$project/astrid-inspection-results
- actual result:
ls -la astrid-inspection-results only includes .descriptions.xml
- expected result: something like a
MethodNames.xml report
Thank you again for the project and please advise if I'm doing something wrong or if this should be treated as feature request, etc.
InteliJ has this awesome ability to launch the Inspections from CLI but for some reason using an inspection profile that only includes
MethodNamesInspectiondoes not produce any XML report output 😕The same profile, but run in-IDE, seems to produce the results using
Analyze->Inspect CodeorAnalyze->Run Inspection by Name -> Show method name suggestions.Although it's still a bit surprising that the number of the results in the output vary between the consecutive runs over the same codebase, with the same settings (from 1 to 10, including suggestions for code snippets in Markdown files).
Steps to reproduce:
~/$project)MethodNamesInspectione.g by making a copy of the default one
Project_Default_copy, disabling everything and enabling this one by the namels -la astrid-inspection-resultsonly includes.descriptions.xmlMethodNames.xmlreportThank you again for the project and please advise if I'm doing something wrong or if this should be treated as feature request, etc.