The following options are available:
•
Main style
- Specifies the
main
function declaration template inserted. Select
ANSI C/C++
if you want
an old ANSI C main declaration inserted. You can define a template by using aliases, or you can write a
replacement function for
c_insert_main
. The command
find-proc c_insert_main
will locate the macro
source for this function.
•
C/C++ Preprocessing
- Click this button to customize the global preprocessing that is used when Con-
text Tagging
®
creates tag files for C or C++. See
C/C++ Preprocessing
.
•
Extensionless C++ Files
- Click this button to add names of extensionless C++ header files. SlickEdit
®
Core takes care of the standard STL headers automatically, but you can use this to add additional com-
piler specific headers, such as
unodered_set
or
regex
. Note, this setting works in combination with the
extensionless header file path regular expression (see below).
•
Extensionless C++ File Path Regular Expression
- In order for SlickEdit Core to safely recognize an
extensionless C++ header file as C++ automatically, without accidently attempting to open other exten-
sionless files (such as executables) as if they were C++, in addition to requiring that you specify the
names of the files (see above), the path that the files are located in must match this regular expression.
C/C++ Beautifier
To beautify a C or C++ document, open the file you want to beautify, then from the main menu, click
Format
→
Beautify
(or use the
gui_beautify
command). The C/C++ Beautifier will be displayed, which
allows you to make settings for how the code will be beautified.
You can use the commands
c_beautify
or
c_beautify_selection
to instantly beautify the file or the selec-
tion according to the settings on the Beautifier dialog.
Currently, this beautifier supports beautifying Slick-C
®
source if the statements are terminated with semi-
colons like C.
Note
The C#, Java, JavaScript, and Slick-C Beautifiers contain the same options and settings as the
C/C++ Beautifier.
The following buttons and settings are available on the Beautifier:
•
Beautify
- Beautifies current selection or buffer and closes the dialog box.
•
Reset
- Restores the dialog box settings to the values that appeared when you invoked the dialog.
•
Save Settings
- Saves beautify options in
uformat.ini
file. These settings are used by the
c_beautify
command.
•
Restrict to selection
- When this option is selected, only lines in the selection are beautified.
C/C++ Beautifier
237
Содержание Corev3.3 for Eclipse
Страница 1: ...Think Slick Corev3 3 for Eclipse...
Страница 2: ......
Страница 3: ...SlickEdit Core v3 3 for Eclipse...
Страница 5: ......
Страница 6: ......
Страница 14: ...xii...
Страница 20: ...xviii...
Страница 22: ...xx...
Страница 23: ...Chapter 1 Introduction 1...
Страница 41: ...Chapter 3 User Interface 19...
Страница 61: ...Chapter 4 User Preferences 39...
Страница 80: ...BODY BODY HTML HTMLEOF Restoring Settings on Startup 58...
Страница 82: ...60...
Страница 83: ...Chapter 5 Context Tagging 61...
Страница 97: ...Chapter 6 Editing Features 75...
Страница 124: ...Code Templates 102...
Страница 187: ...The finished code is shown as follows Figure 6 24 Dynamic Surround Example 4 Dynamic Surround 165...
Страница 238: ...Figure 6 49 Test Parsing Configuration Example 1 C Refactoring 216...
Страница 240: ...Finally the following example shows a test resulting in no errors or warnings C Refactoring 218...
Страница 241: ...Figure 6 51 Test Parsing Configuration Example 3 Reviewing Refactoring Changes 219...
Страница 250: ...228...
Страница 251: ...Chapter 7 Language Specific Editing 229...
Страница 275: ...Java Refactoring See Java Refactoring for information about Java refactoring in SlickEdit Core Java Refactoring 253...
Страница 328: ...306...
Страница 329: ...Chapter 8 Tools and Utilities 307...
Страница 334: ...6 Click Save The Save Multi File Output dialog box opens Figure 8 3 Save Multi File Output Dialog DIFFzilla 312...
Страница 350: ...328...
Страница 351: ...Chapter 9 Macros and Macro Programming 329...
Страница 360: ...338...
Страница 361: ...Chapter 10 SlickEdit Core Dialogs 339...
Страница 375: ...Find and Replace View 353...
Страница 491: ...Chapter 11 Appendix 469...
Страница 567: ......
Страница 568: ......