|
wex
v21.04.0
|
This class defines a class that allows to beautify source code. More...
#include <wex/beautify.h>
Public Member Functions | |
| bool | file (const path &p) const |
| Beautifies the specified file. More... | |
| bool | is_active () const |
| Return true if beautifier is set non-empty in the config. | |
| bool | is_auto () const |
| Return true if auto beautifier is set in the config. | |
| bool | is_supported (const lexer &l) const |
| Returns true if specified lexer can be beautified. | |
| std::list< std::string > | list () const |
| Returns default beautifiers. | |
| bool | stc (stc &s) const |
| Beautifies the specified stc component. More... | |
This class defines a class that allows to beautify source code.
| bool wex::beautify::file | ( | const path & | p | ) | const |
Beautifies the specified file.
Return false if it did not succeed.
| bool wex::beautify::stc | ( | stc & | s | ) | const |
Beautifies the specified stc component.
Return false if it did not succeed.