![]() ![]() For example, by default, the Line breaks checkbox is selected. Use the checkboxes to configure exceptions that IntelliJ IDEA will make when reformatting the source code. If you want to specify several margins, enter numbers separated by comma. You can leave a default value or enter the number of spaces for your margin. Use the Visual guides field to specify multiple right margins. The left-hand pane contains the list of exceptions ( Keep when reformatting), and placement and alignment options for the various code constructs (lists, statements, operations, annotations, and so on) The right-hand pane shows the preview.Īlignment takes precedence over indentation options. In this tab, customize the code style options, which IntelliJ IDEA will apply on reformatting the source code. The results are displayed in the preview pane. To have IntelliJ IDEA automatically insert a space at a location, select the checkbox next to this location in the list. Use this tab to specify where you want spaces in your code. If this checkbox is cleared, IntelliJ IDEA will delete the tab characters and spaces. ![]() If this checkbox is selected, IntelliJ IDEA will keep indents on the empty lines as if they contained some code. In this field, specify the number of spaces to be inserted between the elements of an array, in expressions, method declarations and method calls. In this field, specify the number of spaces to be inserted for each indent level. In this field, specify the number of spaces included in a tab. The Smart tabs checkbox is available if the Use tab character checkbox is selected. This means that a group of spaces that fits the specified tab size is automatically replaced with a tab, which may result in breaking fine alignment. If this checkbox is cleared, only tabs are used. If this checkbox is selected, the part of indentation defined by the nesting of code blocks, is made of the tabs and (if necessary) spaces, while the part of indentation defined by the alignment is made only of spaces. When the checkbox is cleared, IntelliJ IDEA uses spaces instead of tabs. ![]() If this checkbox is selected, tab characters are used: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |