-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
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 oneProject_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-resultsonly includes.descriptions.xml - expected result: something like a
MethodNames.xmlreport
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels