To restrict the MIME types when selecting the menu item to format the currently open file, specify this option in the tool-specific tab. ![]() This setting is applied only when automatically beautifying files on save. Leave the field empty to apply the tool on all files. In the Restrict to MIME types field, define the MIME types of the files to beautify, separated by semicolons.Select the Enable auto format on file save check box to automatically beautify files when you save them using the tool you select in the Tool field.Select Edit > Preferences > Beautifier to specify settings for beautifying files.Select Restart Now to restart Qt Creator and load the plugin.Select Help > About Plugins > C++ > Beautifier to enable the plugin.You might have to build the tools from sources for some platforms. Download and install the tool to use for formatting source code:.You can use a predefined style or define your own style. ![]() The Beautifier plugin parses the source code into component structures, such as assignment statements, if blocks, loops, and so on, and formats them as specified in the Beautifier preferences. You can use the experimental Beautifier plugin to format your source code by using the following external tools:
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |