![]() In the Project Manager, select a project to be active.To format the source code files in a project Only the formatting of the selected block will be updated. The Code Editor pane refreshes and shows the selected block formatted according to the specified formatter options.Right-click in the selected block and select the Format Source command from the context menu (or click the Edit > Format Source menu command.).The Code Editor pane refreshes and shows the source code formatted according to the specified formatter options.If the Confirmation prompt opens, click Yes.Right-click in the Code Editor and select the Format Source command from the context menu (or click the Edit > Format Source menu command.).Set the desired formatting options (if needed).Open your Delphi or C++ source code file in the Code Editor.The specified set of formatter options will be used by the source code formatter. To change the option value (or view all possible values of the option), click the right column of the option row and then click the emergent drop-down arrow.Select any option a detailed description of this option appears in the lower part of the right pane.Select a group of options the right pane displays options in the selected group.The Delphi options are used in Delphi projects to format Delphi source code files with the following extensions: *.pas, *.dpr, *.dpk, *.dpkw, *.inc. Delphi contains the Indentation, Spaces, Line breaks, Capitalization, and Alignment groups of options.The C++ options are used in C++ projects to format C/C++ source code files with the following extensions: *.cpp, *.cxx, *.cc, *.c, *.hpp, *.hxx, *.hh, *.h.In the tree in the left pane of the Options dialog box, expand the Formatter node.In the Profiles and Status page you can also manage sets of formatter options (using configuration files storing the formatter options) and enable or disable the Confirmation prompting message before the formatting operations. That is, the Format Source and Format Project Sources commands appear in the corresponding menus (and context menus) and become available. The source code formatting commands become enabled. Select the Profiles and Status node - the Formatter Profiles and Status page opens.Click Tools > Options > Language > Formatter.8 To load the set of formatter options from a file.7 To save the customized set of formatter options in a file.5 To format the source code files in a project.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |