jEdit Community - Resources for users of the jEdit Text Editor
ProjectViewer - where are the passwords stored?
Submitted by Skeeve on Thursday, 12 September, 2013 - 06:49
Hi!

I have several projects in my project viewer, all using SVN. Now I sometimes have to change my password for the SVN server and it's rather annoying having to go through all the projects to change the password.

So I wonder wheter it would be possible to change them all in the file where the password is stored.
Commando
Submitted by Arionyx on Thursday, 20 September, 2012 - 19:11
Is there anyway to change the location that commando uses from user files to program files?
Java Noob
Submitted by Arionyx on 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 jojaba67 on Thursday, 22 March, 2012 - 19:34
Hello,

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 maximeD on 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 rovf on 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 gary_m on 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 lars on Thursday, 17 November, 2011 - 09:36
Hi,

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:
1. Postgres
2. MySQL
3. MSSQL
4. MSSQL-Express

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 masher on 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 BennX on 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!

Best Regards
BennX
how to access the text?
Submitted by phoe on Wednesday, 26 October, 2011 - 11:58
Hey,

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 baseliner on 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 Riven on Wednesday, 7 September, 2011 - 20:38
Hi,

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.
JOptionPane.showMessageDialog(null, path);
return;
}
}
}
}

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.

Best regards,
Riven
XML , XML ---> Text" -->
XML Plugin - Convert Text ---> XML , XML ---> Text
Submitted by aleroot on 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 ?

Thanks.
Autoformat django and html
Submitted by donaldhorton on 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.

thx
Code complete issues in JavaSideKick or SideKick?
Submitted by daition on Sunday, 17 April, 2011 - 15:00
Hi all,
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 loula427 on Friday, 15 April, 2011 - 16:52
Hi everyone,

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 dnagy on 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 chambery on Monday, 29 November, 2010 - 01:45
Hi all,

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?

Thanks,
Todd
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,
Gergoe
User login
Browse archives
« September 2014  
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
33%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1092
Syndication
file   ver   dls
German Localization light   4.4.2.1   46452
Context Free Art (*.cfdg)   0.31   36881
R Edit Mode - extensive version   0.1   11088
JBuilder scheme   .001   10960
Advanced HTML edit mode   1.0   10541
BBEdit scheme   1.0   10525
ColdFusion scheme   1.0   10512
Matlab Edit Mode   1.0   10409
jEdit XP icons   1.0   9864
XP icons for jEdit   1.1   9777