Difference between revisions of "Editor Tweaks plugin"

From Code::Blocks
(Created page with "Category: Code::Blocks Contrib Plugins {{Infobox_Plugin| name = EditorTweaks | logo = File:Generic-plugin.png | developer = Damien Moore | maintainer = | versio...")
 
m (Formatting.)
 
(2 intermediate revisions by the same user not shown)
Line 19: Line 19:
 
* ''insert'' key suppression
 
* ''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
+
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

EditorTweaks
Generic-plugin.png
Developer(s): Damien Moore
Maintainer(s):
Version: 0.1

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;