Eclipse CDT : automating Organize Includes

本小妞迷上赌 提交于 2019-12-12 19:03:12

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/39363952/eclipse-cdt-automating-organize-includes

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!