jEdit Community - Resources for users of the jEdit Text Editor
Cool macro to share
Submitted by pieroxy on Monday, 16 October, 2006 - 20:06
I have this macro I wrote a while ago that "indents" a piece of code (C, Java, Javascript). I like it over the various beautifiers plugins for the following reasons:
1. It keeps the lines as they are, it justs indents them, so that part of the coding style is preserved.
2. The macro will indent just the selection, not all the file, making the change an easy and visible one.

How shall I share the macro so as it is well exposed? It's around 500 lines and I doubt it is worth getting into the default install (how do one macro gets elected to get in the default install?). I'd also like some user feedback on it.
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
why don't you upload it via t
by cvicari on Thu, 19/10/2006 - 10:08
why don't you upload it via the "create content" link?
 
Yup, I didn't see the link (i
by pieroxy on Fri, 20/10/2006 - 07:34
Yup, I didn't see the link (i'm new to these forums). Thanks for the info, will do that.
User login
Browse archives
« April 2025  
MoTuWeThFrSaSu
 
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
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   107462
Context Free Art (*.cfdg)   0.31   46068
BBEdit scheme   1.0   18604
JBuilder scheme   .001   18505
ColdFusion scheme   1.0   18038
R Edit Mode - extensive version   0.1   17485
Advanced HTML edit mode   1.0   16219
Matlab Edit Mode   1.0   16083
jEdit XP icons   1.0   15242
XP icons for jEdit   1.1   14306