jEdit Community - Resources for users of the jEdit Text Editor
Archives
auto pairs - how to auto close ()
Submitted by nephish on Saturday, 3 February, 2007 - 17:19
is there a plugin or macro that i can use that will auto close a bracket or quote ?
this is a feature in scribes that i really miss in Jedit.
i have tried the abbreviations trick but it doesn't really work because sometimes i do want a space inside the quotes. and if i open a bracket or brace ( or { or [ and hit space twice, it closes.

anyway, if this is a feature already, please let me know how to turn it on, or if a plugin or macro, please let me know.

great editor / IDE you guys have here, i use it for everything
use abbreviation for selection
Submitted by sl_ime on Sunday, 4 February, 2007 - 03:57
i have an abbreviation: key: tag abbreviation: <$1>$2$end how would i create a tag that would expand before and after a selection?
DB Terminal fails to connect to database
Submitted by polypus on Sunday, 4 February, 2007 - 15:57
i am running jedit 4.2final, and DB Terminal 0.1.1 on linux (ubuntu dapper).

i finally figured out how to install the java driver, i think?. i downloaded version mm.mysql-2.0.14-bin.jar and put in in .jedit/jars. i was getting array out of bounds errors with version 3.

in the DB Terminal connection window i have:

host: 127.0.0.1
database: depot_development
user: root
password:
DB Type: MySQL

but on connect i get the following error:

"Cannot connect to MySQL server on 127.0.0.1:3306. Is there a MySQL server running on the machine/port you are trying to connect to? (java.lang.NumberFormatException)"

i can log on just fine with:

mysql -u root --protocol=TCP --port=3306

and

mysql -u root --protocol=SOCKET

any ideas anyone? thanks many.
Hide Columns in File System Browser?
Submitted by mkuehn on Monday, 5 February, 2007 - 16:46
Is there any way to hide columns in the File System Browser? I don't care to see anything but the file/directory name. I'll edit config files, install a plug-in, whatever it takes.

I've been looking for this feature for a long time. Does it already exist somehow, somewhere? If not, how hard is it to add the feature? From my non-application developer perspective, it would be as simple as not showing the columns that are unchecked in a preferences pane somewhere.

Please let me know.

Thanks,
Matthew
Need someone to maintain the JTA plugin
Submitted by poleta33 on Friday, 9 February, 2007 - 13:15
Hi

The JTA plugin is the ONLY features that really miss to jedit : it consists in having multiple connections onto differents servers to execute commands (much more powerfull than the console plugin which is limited to the current station you use)...

so this plugin is not maintained anymore... if someone can try this challenge !

more information here : http://sourceforge.net/tracker/index.php?func=detail&aid=1627596&group_id=588&atid=350588
Need someone to maintain the JTA plugin
Submitted by poleta33 on Friday, 9 February, 2007 - 13:17
Hi

The JTA plugin is the ONLY features that really miss to jedit : it consists in having multiple connections onto differents servers to execute commands (much more powerfull than the console plugin which is limited to the current station you use)...

so this plugin is not maintained anymore... if someone can try this challenge !

more information here : http://sourceforge.net/tracker/index.php?func=detail&aid=1627596&group_id=588&atid=350588
Toggle comment instead of insert comment
Submitted by ZortTheMighty on Friday, 9 February, 2007 - 23:26
Could you please change the Line Comment (Edit > Source > Line Comment) and Block Comment (Edit > Source > Block Comment) actions to toggle comments instead of simply adding them. i.e. If the selected text is already marked as a comment then remove the comment marking.
Problem with drop down boxes on website
Submitted by ZortTheMighty on Saturday, 10 February, 2007 - 00:05
I'm using firefox 2.0 and all the drop down boxes have a width of only one character. I can't see what options there are to select! Is this the same for you other firefox users? If so please can one of the site admins fix this.

On a related note, there doesn't seem to be any way of contacting the site admins from this website, only the forums are available.

A site map would be nice too, if you can add that to the todo list that will be choice.
PKGBUILD edit mode (pkgbuild.xml v0.1 by Dmitry Stropaloff)
Submitted by h8 on Sunday, 11 February, 2007 - 17:04
Edit mode for PKGBUILD files (Arch Linux).

Add the following line to your modes/catalog file
<MODE NAME="PKGBUILD" FILE="pkgbuild.xml" FILE_NAME_GLOB="PKGBUILD" />
Runs makepkg for the current opened PKGBUILD-file (Make_arch_package.bsh v0.1 by Dmitry Stropaloff)
Submitted by h8 on Sunday, 11 February, 2007 - 17:35
Only for Arch Linux users.

Runs makepkg command for the opened PKGBUILD-file. You need a Console plugin.
Generate md5sum for source files in PKGBUILD (Generate_md5_sum.bsh v0.1 by Dmitry Stropaloff)
Submitted by h8 on Sunday, 11 February, 2007 - 17:39
Only for Arch Linux users.

Automatically generates and inserts md5 sums of a source files into PKGBUILD file. You need a Console plugin.
XML parsing complete, 1 error(s)
Submitted by McSwell on Tuesday, 13 February, 2007 - 15:29
When I switch to one of my buffers that contains XML code I've written, I get a msg down on the status line:
XML parsing complete, 1 error(s)
How can I get it to tell me more about the error? (like what line it's on) I tried xmllint, but it claims no errors.

Mike Maxwell
toggle fold
Submitted by McSwell on Tuesday, 13 February, 2007 - 16:40
I would like to assign a shortcut key to toggle fold. Thus, if the caret is on a line where it makes sense, ^T (let's say) would collapse the fold if the fold was already open, and expand it fully if the fold was already closed.

I don't see any obvious way to do that--there's no command in the Global Options | Shortcuts list that jumps out at me, although I could have missed it. (Nah. I thought I was wrong once, but turned out I was mistaken.)

I suppose I could write a macro, if I knew how to tell whether the current fold was folded or unfolded (and whether the current line was foldable). There must be a way, that's what the little triangles in the gutter do. But I'm not a Java programmer...

I googled this without finding anything obvious. Thanks for any pointers!

Mike Maxwell
strange behavior of the ftp-plugin
Submitted by vik on Wednesday, 28 February, 2007 - 09:06
Hi,

i'm using jEdit on a Windows XP SP2 maschine.
when saving small files via ftp-plugin to a unix-host, everything works fine.

If the file size increases up to ~3kB i receive execptions like:

java.net.SocketTimeoutExceptionjava.net.SocketTimeoutException

or

java.net.SocketException: Connection reset by peer: socket write error


This happens also in several combinations of jre ,jEdit and ftp-plugin, eg.

jre_1.5.0_06 and jedit_4.2 final with ftp-plugin 0.72
jre_1.6.0 and jedit_4.3pre8 with fpt-plugin 0.8


Any ideas or help?

Thanks a lot, vik
REQ: Editable fold stings
Submitted by wrongway on Wednesday, 28 February, 2007 - 16:23
I am looking for a feature to allow me to change jedits default fold strings from {{{ }}} to something like { }.

I used to use the customizable folds plugin, but that hasnt worked since 4.3pre2. It appears something changed in the api, and the plugin is no longer actively developed.


Someone PLEASE help... Jedit is the best editor on the planet, and it can no longer do automatic folding...
Donations reactivated
Submitted by Vampire on Thursday, 1 March, 2007 - 18:26
The donation system got reactivated for jEdit and so you can donate via SourceForge and PayPal.
Just go to http://sourceforge.net/project/project_donations.php?group_id=588 and donate what you like. Smiling

Thanks in advance from the jEdit team.
Can XML plugin be configured to use a specified schema?
Submitted by guyr on Thursday, 1 March, 2007 - 19:35
I'm attempting to use the XML plugin to edit OpenLaszlo files (http://www.openlaszlo.org). The problem is that I cannot include the schema name inside the Laszlo source file; Laslzo won't accept that. Is there any way I can identify to the XML plugin that when it sees files with an extension of .lzx, it should automatically use a particular schema? Thanks.
Comment indentation
Submitted by iutinvg on Friday, 2 March, 2007 - 04:21
Hi,

jEdit indent the comment block as following:
/**
* Blah...
*/

Is it possible to make him do it as following:
/**
.* Blah...
.*/

Did anybody find a way todo it without patching?

Thank you very much for advance!
modifying xml mode breaks auto-complete
Submitted by McSwell on Friday, 2 March, 2007 - 21:54
I copied the xml.xml mode file from the jEdit install directory to my .jedit directory (under docs-and-settings: this is on Windows). Then I slightly modified it by altering
<SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE">
to
<SPAN TYPE="LITERAL1" NO_LINE_BREAK="FALSE">
for the case where Literal1 is begun by (and ended by) a double quote. (I did this to get the coloring to work right in a .xsd file, since quoted materials can easily span multiple lines.) I then altered the 'catalog' file in that same dir to refer to the local xml.xml file, by copying the entry for xml files from the catalog in the install dir.

But that seems to have broken the auto-completion, and auto-indentation as well. In particulary, when I type a tag
<foobar>
it used to be that jEdit would automagically supplying a close tag, giving:
<foobar></foobar>
(with the cursor conveniently placed between the two tags).
But with the modified xml.xml file, jEdit no longer does this.

Do I need to do s.t. else?

Mike Maxwell
Macros for working with Partials (Partial_Macros.zip v0.2 by Panya)
Submitted by Panya on Friday, 2 March, 2007 - 22:04
1. Open_Partial.bsh

Opens partial which name is selected (to select independently not necessarily if nothing is selected, selects the word under caret).

Example:

<%= render :partial => 'form' %> # select "form"(without quotes) and use macro will open _form.rhtml

2. Create_Partial_From_Selection.bsh

Creates a partial from the selected text (asks for the partial name without _ and .rhtml) and replaces selected text with a <%= render :partial => 'partial_name' %> erb fragment.

User login
Browse archives
« February 2007 »
MoTuWeThFrSaSu
 
6
7
8
11
12
14
15
16
17
18
19
20
21
22
23
24
25
26
27
 
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   108250
Context Free Art (*.cfdg)   0.31   46071
BBEdit scheme   1.0   18607
JBuilder scheme   .001   18508
ColdFusion scheme   1.0   18041
R Edit Mode - extensive version   0.1   17488
Advanced HTML edit mode   1.0   16222
Matlab Edit Mode   1.0   16086
jEdit XP icons   1.0   15245
XP icons for jEdit   1.1   14309