Difference between revisions of "Editor Tweaks plugin"
From Code::Blocks
m |
m (Formatting.) |
||
(One intermediate revision by the same user not shown) | |||
Line 20: | Line 20: | ||
From the merge with the [[Aligner plugin]], it has the ability to make sections of code more readable by aligning a specific character. For example, aligning the "=" in | From the merge with the [[Aligner plugin]], it has the ability to make sections of code more readable by aligning a specific character. For example, aligning the "=" in | ||
− | <source lang="cpp"> | + | <source lang="cpp" enclose="div"> |
int var = 1; | int var = 1; | ||
int longVarName = 2; | int longVarName = 2; | ||
Line 26: | Line 26: | ||
</source> | </source> | ||
will result in | will result in | ||
− | <source lang="cpp"> | + | <source lang="cpp" enclose="div"> |
int var = 1; | int var = 1; | ||
int longVarName = 2; | int longVarName = 2; | ||
int foobar = 3; | int foobar = 3; | ||
</source> | </source> |
Latest revision as of 01:58, 18 April 2012
The EditorTweaks plugin contains several different features. On a per-file basis, it controls
- word-wrap
- line-numbers
- tab key emissions (tab characters or spaces)
- number of spaces the tab key emits
- end of line characters (carriage-return + linefeed; carriage-return; linefeed)
- visibility of end of line characters
- on-demand striping of trailing white-space
- on-demand synchronization of end of line characters
- insert key suppression
From the merge with the Aligner plugin, it has the ability to make sections of code more readable by aligning a specific character. For example, aligning the "=" in
int var = 1;
int longVarName = 2;
int foobar = 3;
will result in
int var = 1;
int longVarName = 2;
int foobar = 3;