Reputation: 40140
Is there an option to automate the context menu/Source/Optimize includes
functionality? Perhaps on file save, or on exiting or starting the IDE ...
Failing that, is there a plug-in?
Upvotes: 2
Views: 323
Reputation: 52739
I assume you mean Organize Includes.
I'm not aware of a built-in way to configure that to run after every file-save, nor of a plugin that would do it.
Consider filing a bug requesting that an option to run Organize Include be added to Preferences -> C/C++ -> Editor -> Save Actions.
Upvotes: 1