jEdit Community - Resources for users of the jEdit Text Editor
import text file at cursor location
Submitted by mbl on Tuesday, 30 March, 2004 - 21:00
Dear friends,

Have been using Jedit for a few days, and do like it a lot.

As of yet, however, can't seem to find a way to import complete short text files at the cursor location. These would be typical brief code files or skeletons, or comment files, located at some directory, usually not the current directory.

If it's not possible, would also appreciate to know that, so as not to keep trying to find the feature.

Opening a file to Copy-and-Paste is what am doing, but is somewhat cumbersome when one wants the complete short file inserted at the cursor location.

Thanks for any help afforded.

-mbl-
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
I just uploaded a macro "Inse
by orutherfurd on Wed, 31/03/2004 - 18:47
I just uploaded a macro "Insert_File.bsh" which may do what you're looking for. It's here: http://community.jedit.org/?q=queue/1198.
Templates Plugin
by lturner on Wed, 31/03/2004 - 07:46
I'm not sure if it is what you are looking for but have you tried the Templates Plugin. It allows you to set up files that can be inserted into the current buffer with the click of a mouse. The files (or templates) can also be dynamic so you can really set up some cool stuff.

Hope this helps
Lee
User login
Browse archives
« September 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   96033
Context Free Art (*.cfdg)   0.31   46061
BBEdit scheme   1.0   18600
JBuilder scheme   .001   18501
ColdFusion scheme   1.0   18030
R Edit Mode - extensive version   0.1   17480
Advanced HTML edit mode   1.0   16212
Matlab Edit Mode   1.0   16074
jEdit XP icons   1.0   15235
XP icons for jEdit   1.1   14299