I'm the poster of the StackOverflow query.
In opinion, the use cases are
- you might want to kill a particular analysis, (this is already implemented)
- turn-off all analysis temporarily,
- or turn-off analysis altogether and then trigger analysis by-hand.
I need to perform this analysis prior to check-in as it is part of my team's commit checklist.
But, due to the length of some legacy files, I need to be able to trigger analysis.
I definitely don't want the analysis to kill itself. The result would be that each keystroke would cause a 10-second analysis, followed by a thread kill.