Whitespace
- Tabs and Spaces - Lines are indented using tabs or spaces depending on the preferences configured in :
If the Insert spaces for tabs (org.eclipse.ui.editors/spacesForTabs) option is enabled, indentation will use space characters, otherwise tabs will be used.
The Displayed tab width (org.eclipse.ui.editors/tabWidth) option controls the size of a tab in spaces.
Trim end of line whitespace (ro.amiq.vhdldt/format.whitespace.trim_end_of_line) - When enabled, end of line whitespace is deleted.
Before |
After |
---|---|
Trim whitespace lines (ro.amiq.vhdldt/format.whitespace.trim_whitespace_line) - When enabled, whitespace line are deleted.
Before |
After |
---|---|
Compact whitespace groups (ro.amiq.vhdldt/format.whitespace.compact) - When enabled, consecutive whitespace characters are trimmed to a single space character. It does not affect indentation, that is the whitespace at the beginning of a line is not affected by this option.
Before |
After |
---|---|
- Compact consecutive empty lines (ro.amiq.vhdldt/format.whitespace.compact_consecutive_empty_lines) - When enabled, consecutive empty lines are compacted into groups of lines whose number is less than or equal to a specified value. It does not affect the empty lines inside multi-line comments.
Maximum number of consecutive empty lines (ro.amiq.vhdldt/format.whitespace.maximum_nof_consecutive_empty_lines) - Consecutive empty lines are compacted when their number exceeds this value.
Before |
After (Preference is set to “1”) |
---|---|
Add whitespace before (ro.amiq.vhdldt/format.whitespace.add_before) - Space separated list of tokens to add whitespace before.
Before |
After (“:=” token) |
---|---|
Add whitespace after (ro.amiq.vhdldt/format.whitespace.add_after) - Space separated list of tokens to add whitespace after.
Before |
After (“:=” token) |
---|---|