Formatting 代码格式化程序在包含以下内容的行周围放置空格:-如何关闭 构造器C++的代码格式化程序执行以下的
之前:Formatting 代码格式化程序在包含以下内容的行周围放置空格:-如何关闭 构造器C++的代码格式化程序执行以下的,formatting,c++builder,c++builder-xe,Formatting,C++builder,C++builder Xe,之前: { std::string Name; short NumMeterChans; eChannelGroups Type; std::vector<short>Index; } 之后: { std::string Name; short NumMeterChans; eChannelGroups
{
std::string Name;
short NumMeterChans;
eChannelGroups Type;
std::vector<short>Index;
}
之后:
{
std::string Name;
short NumMeterChans;
eChannelGroups Type;
std::vector<short>Index;
}
是什么旗把它关掉了,我想尽了一切办法。那个旗子有什么副作用
C++Builder XE格式化程序设置存储在配置文件中。尝试保存您的配置并将其与默认配置之一进行比较,您可能会发现是什么导致了这种行为。您可以在RAD Studio XE中加载配置文件,并使用内置的比较工具Edit>Compare 在“工具>选项>格式化程序>配置文件和状态”页面上。保存当前配置文件,并将其命名为Formatter_gbrandt.config 配置文件位于:
C:\Documents and Settings\<User>\Application Data\Embarcadero\BDS\8.0
我已使用Formatter_Wide.config格式化您的示例,但我看不到您看到的效果。格式化程序设置存储在配置文件中。尝试保存您的配置并将其与默认配置之一进行比较,您可能会发现是什么导致了这种行为。您可以在RAD Studio XE中加载配置文件,并使用内置的比较工具Edit>Compare 在“工具>选项>格式化程序>配置文件和状态”页面上。保存当前配置文件,并将其命名为Formatter_gbrandt.config 配置文件位于:
C:\Documents and Settings\<User>\Application Data\Embarcadero\BDS\8.0
我已经使用Formatter_Wide.config格式化了您的示例,但我没有看到您看到的效果