wex v24.04.0
|
Offers functionality to beautify source code. More...
#include <wex/factory/beautify.h>
Public Member Functions | |
bool | file (const path &p) const |
Beautifies the specified file (the auto beautifier should explicitly be enabled). | |
bool | is_active () const |
Returns true if beautifier is set non-empty in the config. | |
bool | is_auto () const |
Returns true if auto beautifier is set in the config. | |
bool | is_supported (const path &p) const |
Returns true if specified path can be beautified. | |
config::strings_t | list () const |
Returns default beautifiers. | |
const std::string | name () const |
Returns the actual beautifier, or empty string if none selected. | |
Offers functionality to beautify source code.
bool wex::factory::beautify::file | ( | const path & | p | ) | const |
Beautifies the specified file (the auto beautifier should explicitly be enabled).
Return false if it did not succeed.