jEdit Community - Resources for users of the jEdit Text Editor
code-completion using yacc parser
Submitted by captainhunt on Wednesday, 10 November, 2010 - 07:57
Hi there,

I am trying to add syntax highlighting and code-completion for a quite idiosyncratic command file syntax to jedit.

While I managed pretty well to use jedit's xml edit-mode description for syntax highlighting, I cannot find a good starting point to add code-completion.

I currently see two possibilities:
a) use the xml edit-mode description to get the KEYWORDS somehow into a suggestion list
b) somehow connect the lex/yacc parser with jedit.

b) would be my prefered way as, it would perfectly sync up with any code development of the program and its parser.

Any hints, tips outlines which way to go, any getting started or simple example for code completion would be highly appreciated.

Thanks in advance,
How to paint something in TextArea?
Submitted by tpj on Saturday, 30 October, 2010 - 16:54
I'm working on a jEdit plugin for Lisp dialects. I'd like to implement a form "highlighting" feature, just as it's implemented in DrRacket. It can properly highlight a form, when the form is a valid one (screenshot 1). When we have an invalid form (due to some unclosed parenthesis, for example), only the first form paren is highlighted (screenshot 2). I'd rather highlight all the text up to the next form, instead, in some different colour.

Screenshot 1:
Screenshot 2:

Right now, I don't know how such a feature can be implemented in a jEdit plugin. I've found out the TextAreaExtension, but I'm not sure if it's the proper solution to use in my case. How can I order jEdit (from a plugin) to draw something on the screen? Something, that might consist of many lines and columns, between two known caret positions?

I've found the methods paintValidLine and paintScreenLineRange, but I'm not sure, when they're actually used - so I can't make any use of them. I need some advice on this topic.
QuickNotepad-Plugin written in Scala - java.lang.NoClassDefFoundError: QuickNotepadActions
Submitted by gadei on Wednesday, 6 October, 2010 - 06:34

I've tried to rewrite the simple QuickNotepad plugin in scala. I'm using Netbeans 6.8 for this.

Inside the IDE everthing works really fine, but if I copy my 'QuickNotepad.jar'-file in the .jedit/jar directory and then run jEdit, I get following Error-Message:

(Note: This error occurs when I try to open my plugin => Plugins/QuickNotepad->QuickNotepad)

> java.lang.NoClassDefFoundError: QuickNotepadActions
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClassCond(
> at java.lang.ClassLoader.defineClass(
> at java.lang.ClassLoader.defineClass(
> at org.gjt.sp.jedit.JARClassLoader._loadClass(
> at org.gjt.sp.jedit.JARClassLoader.loadClass(
> at java.lang.ClassLoader.loadClass(
> at org.gjt.sp.jedit.bsh.classpath.ClassManagerImpl.classForName(
> at org.gjt.sp.jedit.bsh.NameSpace.classForName(
> at org.gjt.sp.jedit.bsh.NameSpace.getClassImpl(
> at org.gjt.sp.jedit.bsh.NameSpace.getClass(
> at org.gjt.sp.jedit.bsh.Name.consumeNextObjectField(
> at org.gjt.sp.jedit.bsh.Name.toObject(
> at org.gjt.sp.jedit.bsh.BSHAmbiguousName.toObject(
> at org.gjt.sp.jedit.bsh.BSHAllocationExpression.objectAllocation(
> at org.gjt.sp.jedit.bsh.BSHAllocationExpression.eval(
> at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(
> at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(
> at org.gjt.sp.jedit.bsh.Interpreter.eval(
> at org.gjt.sp.jedit.bsh.Interpreter.eval(
> at org.gjt.sp.jedit.bsh.Interpreter.eval(
> at org.gjt.sp.jedit.BeanShellFacade._eval(
> at org.gjt.sp.jedit.BeanShellFacade.eval(
> at org.gjt.sp.jedit.BeanShell.eval(
> at org.gjt.sp.jedit.gui.DockableWindowFactory$Window.createDockableWindow(
> at org.gjt.sp.jedit.gui.DockableWindowManagerImpl.showDockableWindow(
> at org.gjt.sp.jedit.gui.DockableWindowFactory$Window$OpenAction.invoke(
> at org.gjt.sp.jedit.gui.InputHandler.invokeAction(
> at org.gjt.sp.jedit.jEdit$4.invokeAction(
> at org.gjt.sp.jedit.jEdit$4.invokeAction(
> at org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed(
QuickNotepadActions is just a "triat" (=Scala) [Interfac (=Java)] -> so this error message don't really make sens to me

Do you have an idea what could be wrong here?


I'm using:
scala 2.8.0 final
jEdit 4.3.1
FindFile plugin to use selected text as search filter
Submitted by mindjoy on Thursday, 2 September, 2010 - 13:01
Hi there,

First I want to thank developers for the great plugin FindFile. I'd like to use selected text to show up in the filter box. Could you please give me some pointers of how to do that? Thank you.


Ivica Mikic
XML Indenter
Submitted by tonka on Monday, 12 July, 2010 - 17:22
Is there another plugin that rolls the XML Indenter into it? With Jedit version 4.3 this plugin is not available. When searching it comes up as obsolete.

Thanks in advance..
Project viewer stopped working
Submitted by gattu marrudu on Friday, 9 July, 2010 - 21:14
Hi there, I have a problem with Project Viewer plugin. I am using JEdit 4.3.2 server mode with sun JDK 1.6.0_20, on a Linux64 machine. Every time I hit the menu item Plugins->Project viewer, I get the following error message: java.lang.RuntimeException: org.xml.sax.SAXParseException: Premature end of file. at projectviewer.ProjectManager.loadConfig( at projectviewer.ProjectManager.( at projectviewer.ProjectManager.getInstance( at projectviewer.PVMenuProvider.( at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance( at sun.reflect.DelegatingConstructorAccessorImpl.newInstance( at java.lang.reflect.Constructor.newInstance( at org.gjt.sp.jedit.bsh.Reflect.constructObject( at org.gjt.sp.jedit.bsh.BSHAllocationExpression.constructObject( at org.gjt.sp.jedit.bsh.BSHAllocationExpression.objectAllocation( at org.gjt.sp.jedit.bsh.BSHAllocationExpression.eval( at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval( at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval( at org.gjt.sp.jedit.bsh.Interpreter.eval( at org.gjt.sp.jedit.bsh.Interpreter.eval( at org.gjt.sp.jedit.bsh.Interpreter.eval( at org.gjt.sp.jedit.BeanShellFacade._eval( at org.gjt.sp.jedit.BeanShellFacade.eval( at org.gjt.sp.jedit.BeanShell.eval( at at at javax.swing.JMenu.fireMenuSelected( at javax.swing.JMenu$MenuChangeListener.stateChanged( at javax.swing.DefaultButtonModel.fireStateChanged( at javax.swing.DefaultButtonModel.setSelected( at javax.swing.JMenu.setSelected( at javax.swing.JMenu.menuSelectionChanged( at javax.swing.MenuSelectionManager.setSelectedPath( at javax.swing.plaf.basic.BasicMenuUI$Handler.mouseEntered( at java.awt.Component.processMouseEvent( at javax.swing.JComponent.processMouseEvent( at java.awt.Component.processEvent( at java.awt.Container.processEvent( at java.awt.Component.dispatchEventImpl( at java.awt.Container.dispatchEventImpl( at java.awt.Component.dispatchEvent( at java.awt.LightweightDispatcher.retargetMouseEvent( at java.awt.LightweightDispatcher.trackMouseEnterExit( at java.awt.LightweightDispatcher.processMouseEvent( at java.awt.LightweightDispatcher.dispatchEvent( at java.awt.Container.dispatchEventImpl( at java.awt.Window.dispatchEventImpl( at java.awt.Component.dispatchEvent( at java.awt.EventQueue.dispatchEvent( at java.awt.EventDispatchThread.pumpOneEventForFilters( at java.awt.EventDispatchThread.pumpEventsForFilter( at java.awt.EventDispatchThread.pumpEventsForHierarchy( at java.awt.EventDispatchThread.pumpEvents( at java.awt.EventDispatchThread.pumpEvents( at Caused by: org.xml.sax.SAXParseException: Premature end of file. at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at projectviewer.ProjectManager.loadConfig( ... 50 more Can anybody help? Thanks gm
Plugin FTP, SFTP
Submitted by Jabberwock on Wednesday, 7 July, 2010 - 13:12

I use the FTP plugin to open sftp files. It's works Smiling

But, i see in the log file that jedit release the connection. Ok it's not a problem, but on the server the connection still there.

How i can really close the connections ?
Updated CandyFold plugin
Submitted by maulik13 on Wednesday, 19 May, 2010 - 09:11

I have updated the candy fold plugin. I have tried contacting the author on SourceForge, but I have not heard anything back.
I was wondering how to I share this update?

Issues with TaskList
Submitted by hath on Wednesday, 12 May, 2010 - 18:21
I'm trying to use the TaskList plugin. Its working for the most part but it only seems to be able to parse and display thing in the current buffer. It has a tab for all Open files which would be really useful but it doesn't work. Right now I'm using a Sessions plugin and I'm wondering it could be the cause?

The only other plugins I have at the moment are quicknotepad, and TextAutoComplete.
How to show a plugin title directly as menu item
Submitted by qooraf on Friday, 23 April, 2010 - 14:37

I am relatively new to jEdit, and have couple of questions about plugin development.

1 - I like to show Plugin options as a separate menu item same as View or Search. How can i edit the props file to get this.

2 - Is it possible for one of my plugin to read the action string? If yes then any pointer on this would be really helpful.

Thanking you all in anticipation.

Can't use System.getProperty
Submitted by kamcknig on Thursday, 22 April, 2010 - 20:26
Hey everyone... I'm very very new to plugin development in jEdit, and java in general. I'm trying to use System.getProperty("") so that I can determine the operating system a user is using. But I keep getting a stackoverflow error, with something about the JARClassLoader or something. I can't using anything in System actually. Every line I put that uses it, returns that same error.

First Mate
Submitted by ezuk on Sunday, 18 April, 2010 - 20:31
Hi guys,

Does anybody know why First Mate still isn't in the official plugin repo? How can we get it there?
FTP - New feature request FTPS/FTPES support
Submitted by Ed34222 on Thursday, 8 April, 2010 - 12:08
It is cool that it does FTP and SFTP (FTP over SSH); but it would be even more handy if it did FTPS(FTP over SSL Passive connection) and FTPES (FTP over SSL Active connection).

SSH is first and foremost a telnet protocol. As such it carries risks.
In order to use it for FTP users must also, often, have telnet access - not exactly ideal from an administrative point of view.

Many servers now use FTPS and FTPES instead of SFTP.

Being able to access those servers directly from jEdit would be quite the time saver.

I currently use the open source FileZilla client to access these kinds of servers.
Is there a way to create a local mirror for one plugin?
Submitted by patrick_toole on Wednesday, 31 March, 2010 - 04:57
I am developing a plugin that I dont necessarily believe is best served for public consumption. Is there a way for me to create a local "mirror" with only my plugin on it, without having to actually mirror everything?

Basically, I'd like my users to pull from the public mirrors, but have access to our Intranet to download an additional plugin.

Fast Open plugin -- is it Open Source?
Submitted by Lee Elms on Saturday, 27 February, 2010 - 17:26
I think the title says it (nearly) all ... if the source is available, can someone point me to it.
Highlight Plugin: "Highlight word at caret" & subsequences
Submitted by autocart on Saturday, 27 February, 2010 - 16:41

I wonder if this is a bug.

In the Plugin Options of the Highlight-Plugin I can check "Highlight word at caret" and as another seperate option I can check "Highlight subsequences".

Well, even if I check the option "Highlight word at caret" but do not check the subsequences option it still highlights subsequences. I.e. I have the caret at the word "c:TE". (In my case the ":" is part of the word.) In the next line I have "c:TE2" and "c:TE2c:TE2" in both cases the subsequences "c:TE" are highlighted but not the "2", altough the option is not checked. Do I misunderstand the concept of this option or is it a bug?

Thanks, Stephan
Jdiffplugin - Merge same text
Submitted by Jabberwock on Wednesday, 24 February, 2010 - 20:49

With jDiffPlugin, it's possible to merge the part of text who are the same ?
I search on the plugin options and on the web with no success.

Antother question, i have a macro who do the diff of two buffer. With an old version of the plugin it's ok, but with the new one, some function are disepear. For exemple DualDiff.toggleFor.
Do you know how i can re*write my macro ?

Thanks in adavance.
properties dialog of ftp plugin not working
Submitted by notknow on Thursday, 4 February, 2010 - 01:31
Hi erveryone,

i'm working with jQuery for years now and i love it.

had to use the ftp.Plugin, it works as far as up- and downloads are concerned, but i can not
use The properties-dialog. I just get an java-whatever exception.

I am using jQuery 4.3.1 with on Mac OS X 10.4.11.

I need this dialog urgently, so i wasted time with trying 3 other editors - TextWrangler, the ftp connection seems to work, but the app itself is not too user friendly (no side by side windows for multiple files etc), Komodo-Edit-5.2.4 which reproducably crashes when trying to connet to a remote server with its ftp functions", Textmate (i would even have bought it - but out of the box it does not even offer the slightest support for ftp).

I'm a bit under stress and this is time killing.

Does anyone know how to get the properties dialog to work?

Or anyone who has a tip on another app than jQuery which is capable of doing what it says it does - basic ftp?

Thanks a lot.

Yes, i might use a "normal" ftp client, i might use one where i can define a standard app to open downloaded files with etc. But i cannot believe the only ftp plugin for jQuery i found is not working. And it is not hat i wanted in the first place. Do i have to pay for Zend Studio in the very end -

Had to test some applications and frameworks (php) over the last days, i'm really pissed with all of that stuff not working, sorry, i'm really...

And i'm not into Java at all, so...
placing scrollbar or tabs in commando custom UI ..
Submitted by d_l on Tuesday, 12 January, 2010 - 17:24
I have a number of options/arguments to to be selected in a commando UI window.
The selected arguments are concatenated into a long command line (as in java.xml commando example).
However the number of arguments to be selected creates a UI with too many lines and too large a height.

Can I add a scroll bar and/or additional tabs to a custom commando UI?

.. to be placed in %USERPROFILE%\.jedit\console\commando\ ?

There are already two default tabs which show in the commando UI window -
"Settings" and "Commands" -
so it must be possible to insert extra tabs.
e.g. Settings 1, Settings 2, Settings 3, Commands

But I don't see any syntax for "scrollbar" or "tabs" in Commando help.
And what sets the width/height dimensions of the commando UI?

Thanks for any tips on extending the UI.
startup.js has problems!
Submitted by zcjsg on Monday, 11 January, 2010 - 01:56
when using the javascript shell plugin,I refrenced the jedit help,
found there is an file "startup.js" .
I putted it into the "startup"directory of jedit setup dirs,
restart jedit,but see error screens.
then i found these codes(seems something wrong) in "startup.js".

function include(path) {//{{{

var paths, i;

if (!path) {
paths = openFileDialog();
for (i = 0; i /}}}

//{{{ echo function

anyone help?
User login
Browse archives
« February 2018  
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
Yes, I'd like to have translations
No, that'd be bad (please comment)
Total votes: 1092
file   ver   dls
German Localization light   51081
Context Free Art (*.cfdg)   0.31   41260
JBuilder scheme   .001   17053
BBEdit scheme   1.0   16658
ColdFusion scheme   1.0   16636
R Edit Mode - extensive version   0.1   14919
Advanced HTML edit mode   1.0   14092
Matlab Edit Mode   1.0   14038
jEdit XP icons   1.0   13463
XP icons for jEdit   1.1   12487