Eclipse CDT:自动化组织包含 [英] Eclipse CDT : automating Organize Includes

查看:200
本文介绍了Eclipse CDT:自动化组织包含的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有一个选项来自动执行上下文菜单/源/优化包括功能?也许在文件保存,或退出或启动IDE ...



没有,是否有插件?

解决方案

我假设你的意思是组织包含。



我不知道内置的配置方式每个文件保存后运行,也可以是一个插件。



考虑提交错误请求将选项运行组织包含添加到首选项 - > C / C ++ - >编辑器 - >保存操作。 p>

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?

解决方案

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.

这篇关于Eclipse CDT:自动化组织包含的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆