Headless mode implementation
There are a few problems that I still haven't solved. For instance, random Execution exceptions (they are the reason for re-launching the program in a cycle). The reason why they are thrown is that mock python sdk is not created on time, so an exception is thrown when it is queried from some inspections (such as redundant print and sleep ones). Second major problem is connected with defining current file's test runner. It works fine (hopefully), however it is really slow and probably not correct in sone cases (for example when there are two frameworks imported in one file). Moreover, my code has lots of duplicate fragments. I'm not sure how to get rid of them yet.
As for README - I experienced an issue when I tried launching headless from the command line. The issue is connected to conflicting Java versions used by main application and plugin-utilities. Unfortunately, I was unable to fix it, hence I only described the process of launching headless mode from ide.
random Execution exceptions
Let's catch all of them and create corresponding issues? I haven't caught any while testing it on a few projects, so I can't reproduce this bug.
I experienced an issue when I tried launching headless from the command line
It works in the terminal fine for me as well. Can you provide screenshots of the issues?
code has lots of duplicate fragments
Yep :) Let's start by separating some functionality into packages, like headless.io.csv, headless.inspections, and headless.io.json. I hope then we will see how to get rid of this copypaste.
I've fixed some problems and resolved conflicts. @OlesiaSub don't forget to pull the branch before fixing anything!