jEdit Community - Resources for users of the jEdit Text Editor
Templates plugin howto
Submitted by SimonWaltr on Tuesday, 24 February, 2004 - 22:38
I came to jEdit after finding very few code editors out there written for Mac that are worth their salt. I must say, to this you have the best application available for Mac that I am aware of (non-commercial at the very least).

I am curious about the templates pluggin however. Are there any good howto's to develop new templates?

Also is there a good autocomplete method I should be looking into? Templates vs. macros, et cetera. I am specifically looking for PHP...

As a side note, it would be really handy to have some doc for the templates pluggin... I don't find it intuitive to use (especially since I have yet to figure it out).

Thanks a ton,
-Greg
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
try help menu
by Brad Mace on Wed, 25/02/2004 - 07:09
I know it catches people off guard when a program actually includes *useful* documentation in the help menu, but check it out. Plugin documentation varies in quality, but I found the docs for the template plugin to be quite good. It uses apache's velocity, so their site may help as well.
 
ha!
by SimonWaltr on Wed, 25/02/2004 - 15:42
Well color me silly. Sometimes the "obvious" isn't. I never would have thought that the plugins would be documented in the same location as jEdit itself. Maybe an option in the "Plugins" dropdown labeled "Plugins Help..." would be useful to curb people like me from asking questions. Eye-wink Although after reading the doc, I am still have a problem with Templates putting a newline at the end of the template even thought the template doesn't contain one. for example if I have the template (I am including line numbers for clearity):
1 <?php
2 #caret ()
3 ?>
I will get (the cursor on line 3):
1 <?php
2
3 ?>
4

Any thoughts on getting rid of that trailing new line? Thanks
 
Caret problem
by sjakob on Wed, 25/02/2004 - 16:30

This seems to work:

<?php #caret() ?>

User login
Browse archives
« April 2024  
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   82349
Context Free Art (*.cfdg)   0.31   46055
BBEdit scheme   1.0   18595
JBuilder scheme   .001   18495
ColdFusion scheme   1.0   18024
R Edit Mode - extensive version   0.1   17473
Advanced HTML edit mode   1.0   16206
Matlab Edit Mode   1.0   16068
jEdit XP icons   1.0   15229
XP icons for jEdit   1.1   14293