Submitted by Thursday, 20 September, 2012 - 19:11
Is there anyway to change the location that commando uses from user files to program files?
Submitted by Monday, 6 August, 2012 - 18:26
I'm almost a complete noob when it comes to Java. The bulk of my expereience has come from working with beanshell to write macros for jEdit. On that note, I've decided to try to dive a little deeper, and write a plugin. I've got most of my programming sources ready to go, all I have left is to set up the dev environment. I'm currently using NetBeans IDE so I was wondering if anyone could help me set it up for writing plugins. I've managed to compile jEdit but when I try to work on, even the 'QuickNotepad' plugin from the tutorial, it says packages from jEdit are missing.
Voxspell for other language ?
Submitted by Thursday, 22 March, 2012 - 19:34
I installed Voxspell (a very old plugin but still working). Unfortunately, only english language is checked. I looked for infos on the Web but didn't find anything about that. I just saw that the dictionnary that is used is called en.spl.
My question : can I replace the en dictionnary by a french one without changing anything of the rest of the plugin (I'm not a java coder) ?
If yes, where can I find this fr dictionnary ?
Thanks in advance.
recover the path file
Submitted by Sunday, 18 March, 2012 - 22:42
Good evening all,
I test currently to developpe a small plugin, and I'm stuck on one small point:
I would like to recover the current file path , how could I achieve that?
thank for your help
Copy on select
Submitted by Tuesday, 13 March, 2012 - 12:41
Is there a plugin which would automatically copy a selected text to the clipboard (i.e. without hitting Control-C), and insert the text using middle click of the mouse? Ideally this should work on Windows7 and MacOSX.
How to move the caret to an absolute coordinate
Submitted by Thursday, 8 December, 2011 - 16:09
Given a coordinate (x, y) how can I set the caret to be at that position? I tried using JEditTextArea.xToScreenLineOffset to calculated the offset, however it givens strange answers.
In a file were I tried to move the caret to (1, 484) it givens an array index out of bounds error.
Definitely not the droids I'm looking for.
SQL-Plugin - Server setup - need help
Submitted by Thursday, 17 November, 2011 - 09:36
I try to use the SQL-Plugin, until now with out success, since google could not help me, I decided to write this post. As described in the plugin doc, I do the following to use the plugin:
1. installed the required plugins
2. donwload the jdbc-driver and add them to the classpath
3. add a db-server within the project viewer plugin
All this steps seems to work. My problem is, that no db-server is listed in the sql plugin. I take a look at the activty log, but there no error warning messages about the sql plugin (I found just some infos about loading the jdbc drivers). Is there a better or more specific log?
I need to use the following server types:
Unfortunately, none of them work with the plugin, although I can setup them in pv plugin. Is there a way to test db connectivty?
Text area colour based on file type
Submitted by Tuesday, 8 November, 2011 - 12:06
Is there any way to set the background of the text area based on the type of file that is open?
how to get a menupoint
Submitted by Saturday, 29 October, 2011 - 17:45
good evening community,
I am not sure if i am right in Plugin Development because i didnt write it as plugin!
i am acutally writing a small improvement for our University.(It already works but i want to make it better)
I just got a problem to get a menu entry.
okay here how it works.
I wrote a thread thats simply started in the mainmethod like every other thing.
At the momment it starts a JOptionPane where you need to put a int in to use the feature i wrote.
Now i just want a menu entry where i can klick to open my JOptionPane to use(to start the thread) the feature if i need it. It just dont look nice if it always pop up at the beginning. Maybe under Help or such.
I didnt find how to do it otherwise i wouldnt ask here in Forum.
Thanks alot for your help!
how to access the text?
Submitted by Wednesday, 26 October, 2011 - 11:58
I'm currently writing a plugin and need a little help. I already found out how to make code and make it execute every X seconds..
Now there is only one thing to do: How do I access the text in the editor? In some cases I want my code to replace "apple" by "banana" every X seconds.
Any special class/method I need to access the text?
Hope you can help me out
RubyPlugin auto-complete missing some commands?
Submitted by Tuesday, 18 October, 2011 - 19:54
Hi - I'm trying to use the RubyPlugin for doing some RoR work. I can't find any of the Rails specific ones such as has_many, belongs_to, etc. though the article at http://www.eadz.co.nz/blog/article/ruby-rails-jedit.html states that this should work.. I've checked to ensure that the ruby parser is specified in SideKick. I do see Ruby methods in the dropdown - e.g. hash... So I'm not sure if the plugin is only for Ruby auto-completion. Anyone have any insight? Thanks!
How to catch message about buffer change
Submitted by Wednesday, 7 September, 2011 - 20:38
I'm trying to develop simple plugin which response to buffer changes. So far I build a JAR file called SimpleLock.jar, containing .props file actions.xml and apropriate java.class files.
My problem is, that after creating and saving some buffer no Dialog appear and no text file is written on C: drive (these are the actions, that should be done after buffer saved).
Here is sample source code:
public class SimpleLockPlugin extends EBPlugin
public void handleMessage(EBMessage msg)
//I guess some dialog should appear if any message is captured.
JOptionPane.showMessageDialog(null, "Some message.");
//My own class for writing content to file
FileEditor.writeContentToFile("Some message.", "C:\\simpleLock.txt");
if(msg instanceof BufferUpdate)
//I guess some dialog should appear if any message related to buffer update is captured.
JOptionPane.showMessageDialog(null, "Some message.");
if( ((BufferUpdate) msg).getWhat().equals(BufferUpdate.SAVED) )
String path = ((BufferUpdate) msg).getBuffer().getPath();
//I guess some dialog with path to saved file should appear if any message related to buffer saved is captured.
I aslo get some errors at jEdit startup, right after opening plugin manager window:
org.xml.sax.SAXParseException: Content is not allowed in prolog.
Every time I open plugin manager wondow two SAXParseException appear.
Is it related to my probem with catching buffer changes?
I'm using jEdit 4.4.1
Any help would be appreciated.
XML , XML ---> Text" -->
XML Plugin - Convert Text ---> XML , XML ---> Text
Submitted by Thursday, 14 July, 2011 - 10:25
I've started using Jedit recently, i usually use Notepadd++ .
Working with XML plugin i can't find some useful feature that XML Tools of Notepad++ have, like :
-Tag Auto Close
-Print XML with line breaks
-Convert Selection XML to Text and Text to XML
Are there this feature also in Jedit ?
which plugin have i to install ?
Autoformat django and html
Submitted by Friday, 13 May, 2011 - 05:15
I have html files that contain both django and html tags. Does anyone know of a plugin for jedit that autoformats such files?
None of the beauty (http://plugins.jedit.org/plugins/?Beauty) plugins work well. The html:beauty formats (indents nested tags) the html, but mangles the django. Others beauty options don't format the html.
Code complete issues in JavaSideKick or SideKick?
Submitted by Sunday, 17 April, 2011 - 15:00
I'm a newbie to jEdit, I like it very much except the feature - code complete. Here is the problem I met.
I've installed both SideKick and JavaSideKick. When I type in a dot after the name of a class or an object, only class methods are shown. Eg.When I typed in "System.", all the methods of class "System" will be shown; however, when I typed in "JFrame a = new JFrame()" and "a.", nothing was shown.
Could anyone give any hint? Or is it a bug for jEdit plugins?
Added own doc for Ruby plugin
Submitted by Friday, 15 April, 2011 - 16:52
I used jEdit since a while but for Perl, I now programming in Ruby and I had found the ruby plugins it's really helpful.
But I'm wondering to know if it's possible to add my own documentation for my project, in fact we work on a big application and we have our documentation.
So I just want to add a link to our doc on "ruby doc". I don't find the way to make that.
Thanks for your help.
BufferList and multiple selection
Submitted by Wednesday, 13 April, 2011 - 00:03
In the BufferList pane I used to be able to select multiple files, as you would in windows explorer, using the shift and control key. Recently this behaviour stopped.
A first click on a file "bolds" it and a second selects it (adds a background colour). Once a file was selected I could then add more files using control or shift. This doesn't happen anymore.
Is there another way to do multiple selections?
How to get "last viewed buffer"?
Submitted by Monday, 29 November, 2010 - 01:45
I'd like to modify the SwitchBufferPlugin to behave like the editor switching from Eclipse, ie the sorting of buffers is in "last viewed order".
So- is there a way to get a buffer's last viewed timestamp?
code-completion using yacc parser
Submitted by Wednesday, 10 November, 2010 - 07:57
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 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: http://www.tprimke.net/public/images/LispMode_1.png
Screenshot 2: http://www.tprimke.net/public/images/LispMode_2.png
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.