-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.mbeautifyrc
More file actions
59 lines (46 loc) · 2.33 KB
/
Copy path.mbeautifyrc
File metadata and controls
59 lines (46 loc) · 2.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Default .mbeautifyrc configuration file for code_beautifier.m
#
# This file provides the default settings that correspond to the 'Default'
# style preset within the code_beautifier function.
# You can modify these values to customize the beautifier's behavior
# when run from a directory containing this file.
#
# Lines starting with '#' are comments and are ignored.
# Options are specified as: OptionName = Value
# StylePreset: Defines a base set of styling options.
# Using 'Default' here means these individual settings below reflect that preset.
# If you change individual settings below, they will override the 'Default' preset's
# values for those specific options if this file is used.
# An empty string or omitting this line would also effectively use the internal defaults.
StylePreset = Default
# IndentSize: Number of spaces for one indent level.
IndentSize = 4
# UseTabs: True to use tabs for indentation, false to use spaces.
UseTabs = true
# SpaceAroundOperators: True to add spaces around binary operators (e.g., a = b, c + d).
SpaceAroundOperators = true
# SpaceAfterComma: True to add a space after commas.
SpaceAfterComma = true
# ContinuationIndentOffset: Additional indent levels for lines continued with '...'.
# (e.g., 1 means one additional indent level).
ContinuationIndentOffset = 1
# PreserveBlankLines: True to keep single blank lines and collapse multiple blanks to one.
# False to remove most blank lines.
PreserveBlankLines = true
# MinBlankLinesBeforeBlock: Ensures N blank lines before major block keywords
# (e.g., if, for, function). Value can be 0, 1, or 2. (0 to disable).
MinBlankLinesBeforeBlock = 1
# RemoveRedundantSemicolons: True to remove ';;' or semicolons after 'end'.
RemoveRedundantSemicolons = true
# AddSemicolonsToStatements: True to add semicolons to non-assignment function
# calls/expressions to suppress output. (Use with caution).
AddSemicolonsToStatements = false
# AlignAssignments: True to align assignment statements within blocks
# of consecutive assignments.
AlignAssignments = true
# FormatArgumentsBlock: True to format 'arguments' blocks by aligning
# names, types, validation functions, and default values.
FormatArgumentsBlock = true
# OutputFormat: Defines the output type of the beautified code.
# Can be 'char' (default, a single character array) or 'cell' (a cell array of strings).
OutputFormat = char