jEdit Community - Resources for users of the jEdit Text Editor
When i try to use the jcompiler plugin i get this error
Submitted by fractal00 on Tuesday, 25 March, 2008 - 13:32
When i try to use the jjcompiler plugin i get this error:
Cannot start jcompiler.JCompilerPlyugin$ToolsJarNotFoundException: Could not find library tools.jar!
Make XML plugin play better with Beauty plugin
Submitted by xhq on Friday, 29 February, 2008 - 14:25
Hi,

I installed XML plugin and it automatically installed Beauty plugin. I tried to use beauty to use XML:XMLIntender to format an XML file but just found they can not work well together. Here is the mail I sent the other day. I post it here in hope some one can notice it.

The problem:

When invoked from Beauty plugin, incorrect IndentAmount could be used. For example, in the buffer optios, I set "Tab width" to 8 and "Indent width" to 8 and uncheck "Soft (emulated with spaces) tabs", the result IndentAmount would be 8 tabs!

I checked the code of both Beaty and XML. It seems the XML code needs to be improved. Here is the details:

In XML/xml//indent/XmlBeautifier.java, the main line reads:

return XmlIndenterPlugin.indent(text, getIndentWidth(), !getUseSoftTabs());

But the same indent() api is used in the following way, in XML/xml/indent/XmlIndenterPlugin.java, public static void indentXml( View view ):

String resultString = XmlIndenterPlugin.indent( inputString, indentAmount, indentWithTabs );

where indentAmount is calculated using:

private static int getIndentAmount( boolean indentWithTabs, Buffer buffer ) {
if ( indentWithTabs ) {
return buffer.getIndentSize() / buffer.getTabSize();
}
else {
return buffer.getIndentSize();
}
}

So, I think the same logic used in getIndentAmount() should be applied in XmlBeautifier. It might be worth adding a new static method to XmlIndenterPlugin:

public static int getIndentAmount(int indentSize, int tabSize, boolean indentWithTabs) {
if ( indentWithTabs ) {
return indentSize/ tabSize;
}
else {
return indentSize;
}
}

and refactor the original one as:

private static int getIndentAmount( boolean indentWithTabs, Buffer buffer ) {
return getIndentAmount(buffer.getIndentSize(), buffer.getTabSize(), indentWithTabs);
}

Then the line in XmlBeautifier will be:

int indentAmount = XmlIndenterPlugin.getIndentAmount(getIndentWidth(), getTabWidth(), !getUseSoftTabs());
return XmlIndenterPlugin.indent(text, indentAmount , !getUseSoftTabs());

I think this will work, but have not test it though.
can jedit do this
Submitted by tsr on Sunday, 17 February, 2008 - 21:33
Hi,

I'm thinking about adapting an editor to handle the creation of UMC (user made content) for Battle for Wesnoth (BfW) - located at: http://www.wesnoth.org.

BfW uses a mark-up language called WML (wesnoth markup language) that has some similarities with xml (the main differences are: preprocessor directives and [ ] instead of < >). WML is fairly strict in what you are allowed to write where.

I've been looking (really fast and not in-depth) into jEdit, and it seems that it meets my requirements. But before I dive into the specifics of jEdit and java I'd like to know if what I want is possible.

What I want to be able to do is something like:
- hide unwanted features (from the editor) easily (as to not confuse people that are new to the concept of programming)
- indentation and syntax-highlightning
- code snippets
- wizards (that is, some kind of forms/dialogs that when completed insert a modified code snippet), both the ability to create them but also the ability to define where (in the UI) they will be shown.
- create a wml-reference
- plugin in a few wml-tools (that are currently written in python) that can be launched and generate reports back to jedit
- launch the main application (that is BfW), to easily test changes
- when the cursor waits a list of possible strings to write at the current location are displayed.

I think that's it. So is this possible to accomplish with jedit as a foundation and an unspecified amount of hours? (I mean without forking the projekt, 'just' writing a plugin)

/tsr
New Plugins: Snout and SnoutKick
Submitted by KalothIV on Thursday, 3 January, 2008 - 09:56
Hi all, this is my first contribution to the JEdit community and comes in the form of 2 plugins that I created to make my everyday coding experience and work much easier.

The first plugin is called Snout and provides a GUI for ctags that can index your source files and creates a hashtable of the results for quick and efficient searching (usually less than a second for a 16mb ctags index file).

The second plugin is called SnoutKick and is a sidebar GUI for ctags that provides a sorted symbol list for the current buffer. The symbol nearest to the caret is highlighted so that you can easily work out which function you are editing etc..

Both these plugins style their colours based on the global JEdit style and blend in nicely with the environment. You can find them on my website at http://www.finalfury.co.uk/jedit.html

I hope that they prove useful to someone. Remember that you'll need to install ctags for these plugins to work.

Chris.
Templates with 4.3 pre 12
Submitted by dougis on Thursday, 20 December, 2007 - 01:00
Not sure what has happened, but after I updated to 4.3 pre 12 my templates no longer work.
Is there an update needed to the plug in to work with the latest release? (4.3 pre 11 seems to be fine).
maintaining or merging the xrefactory plugin
Submitted by keeleyt83 on Monday, 26 November, 2007 - 17:39
Hi all,

I was wondering if anyone here had used the xrefactory plugin? Its got some features that greatly surpass that of the javasidekick and projectviewer combination. The only problem is that its not currently being maintained.

Now I was thinking that maybe I could get some help attempting to update it to work with the current version of jedit, with the ultimate goal of maybe being merged into the javasidekick. What do you all think? I think that if we let the xrefactory plugin die, it will be a great loss for the community. With this plugin, jedit becomes a truly complete lightweight java environment. We need this. Is anyone interesting in helping me?
jEdit java source files
Submitted by vikki_pu on Monday, 12 November, 2007 - 05:32
Hello ,I want to know that where I get the Java source files of jEdit editor or like as DrJava,J,eclipse etc...
Anyone know the Url or link so please tell me.
Thanks in Advance..
JCompiler problem
Submitted by Freddie The Fish on Sunday, 21 October, 2007 - 16:35
I have just downloaded JEdit and the JCompiler plugin. When I try to use JCompiler I get a BeanShell error followed by the message - Java Core Plugin. The "Default" service is not available. Possibly the plugin providing it has been unloaded or removed. Switching to default.
I would guess that I'm missing something that is basic but I am obviously quite thick and any help would be most appreciated.
Color code key-words?
Submitted by sigfreund on Monday, 17 September, 2007 - 22:09
I have a list of key-words I want colored and another list of API names I want a different color, would this warrant writing a plug-in, or is there a simpler way of doing this?
IRC plugin - Nickname list doesn't repopulate
Submitted by AlexCory on Friday, 14 September, 2007 - 13:42
Windows Vista
jEdit 4.3 pre 10
Java 1.6.0

Hi, whenever jEdit starts everything seems to load up fine except for the IRC plugin. When I login to NickServ, it refreshes the chat window and nickname list. During the process of this refresh, the nickname list is lost completely. This may be a versioning bug, such as the fact that I use windows vista now.

Anyway, as a temp fix, I found out I can /part and /join to refresh the list successfully. Perhaps this could be noted in the future when optimizing this plugin further.

Reproduce:
1. Login to NickServ using the command: "/msg NickServ identify password" also note that you have to have a NickServ login first before issuing this command. I'm on freenode regularly, the default server of the IRC plugin and have since registered with NickServ.
2. Upon issuing the identify command to NickServ, the nickname list looks as if it disappears.

Temp Fix:
1. type "/part" and then "/join #channel" to refresh the list correctly, I believe the refresh portion of the /join command may be more up to date then when it refreshes on the /msg command. Not entirely sure about this though.



Just thought I'd let everyone know.

--AlexCory
JavaStyle plugin and Generics
Submitted by pprodano on Sunday, 9 September, 2007 - 19:25
Hello everyone, I have been using the JavaStyle plugin for a couple of years, and I love it. However, ever since I learned how to use Java's Generics framework (I believe introduced in version 1.5 of Java), the JavaStyle plugin stoped working for me. It complains that it doesn't recognize the angle brackets syntax, like: // an ArrayList used to store the data points ArrayList data = new ArrayList(0); Does anyone have a workaround for this? Are there other plugins that could do the same thing, and yet still be able to handle Generics? Thanks, P
XML: insert closing tag doesn't
Submitted by McSwell on Saturday, 23 June, 2007 - 21:59
The XML plugin has two options for inserting a closing tag: when a '
SideKick Documentation
Submitted by kensuguro on Tuesday, 29 May, 2007 - 23:08
Hey, I'm looking to use jEdit as an actionscript 3 editor, and am interested to see how the SideKick plugin can be extended to provide basic code completion.

I installed SideKick and also CTagsSideKick, and saw that CTagsSideKick was more of a navigation / code viewing plugin rather than a context aware dynamic code completion. (functions got added to the tree as you imported, and created them) I'm wondering if there is a community based around SideKick, or if there is more documentation I can read up on?
SideKick Documentation
Submitted by kensuguro on Tuesday, 29 May, 2007 - 23:07
Hey, I'm looking to use jEdit as an actionscript 3 editor, and am interested to see how the SideKick plugin can be extended to provide basic code completion.

I installed SideKick and also CTagsSideKick, and saw that CTagsSideKick was more of a navigation / code viewing plugin rather than a context aware dynamic code completion. (functions got added to the tree as you imported, and created them) I'm wondering if there is a community based around SideKick, or if there is more documentation I can read up on?
ProjectViewer crash
Submitted by red63 on Thursday, 17 May, 2007 - 16:02
Hello,

i seem to have a problem with ProjectViewer (it worked fine till yesterday): when clicking on it's tab it crashes with:

java.lang.NullPointerException at projectviewer.ProjectManager.loadConfig(ProjectManager.java:188) at projectviewer.ProjectManager.(ProjectManager.java:131) at projectviewer.ProjectManager.getInstance(ProjectManager.java:101) at projectviewer.config.ProjectViewerConfig.getLastNode(ProjectViewerConfig.java:563) at projectviewer.ProjectViewer.getActiveNode(ProjectViewer.java:775) at projectviewer.gui.GroupMenu.populate(GroupMenu.java:105) at projectviewer.gui.ProjectComboBox.updateMenu(ProjectComboBox.java:104) at projectviewer.gui.ProjectComboBox.(ProjectComboBox.java:93) at projectviewer.ProjectViewer.buildGUI(ProjectViewer.java:981) at projectviewer.ProjectViewer.(ProjectViewer.java:911) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at bsh.Reflect.constructObject(Reflect.java:668) at bsh.BSHAllocationExpression.constructObject(BSHAllocationExpression.java:123) at bsh.BSHAllocationExpression.objectAllocation(BSHAllocationExpression.java:114) at bsh.BSHAllocationExpression.eval(BSHAllocationExpression.java:62) at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102) at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47) at bsh.Interpreter.eval(Interpreter.java:641) at bsh.Interpreter.eval(Interpreter.java:731) at bsh.Interpreter.eval(Interpreter.java:720) at org.gjt.sp.jedit.BeanShell._eval(BeanShell.java:446) at org.gjt.sp.jedit.BeanShell.eval(BeanShell.java:410) at org.gjt.sp.jedit.gui.DockableWindowManager$Factory.createDockableWindow(DockableWindowManager.java:533) at org.gjt.sp.jedit.gui.DockableWindowManager.showDockableWindow(DockableWindowManager.java:742) at org.gjt.sp.jedit.gui.PanelWindowContainer$ActionHandler.actionPerformed(PanelWindowContainer.java:399) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1819) at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1872) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:273) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:247) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231) at java.awt.Component.processMouseEvent(Component.java:5166) at java.awt.Component.processEvent(Component.java:4963) at java.awt.Container.processEvent(Container.java:1613) at java.awt.Component.dispatchEventImpl(Component.java:3681) at java.awt.Container.dispatchEventImpl(Container.java:1671) at java.awt.Component.dispatchEvent(Component.java:3543) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3527) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3242) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3172) at java.awt.Container.dispatchEventImpl(Container.java:1657) at java.awt.Window.dispatchEventImpl(Window.java:1606) at java.awt.Component.dispatchEvent(Component.java:3543) at java.awt.EventQueue.dispatchEvent(EventQueue.java:480) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170) at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

can anybody help me ?

Here's my config:

  • MacOSX 10.3.9
  • Java 1.4.2_12
  • Jedit 4.2final
  • projectviewer 2.1.3.7
Cheers, Reiner
Superabbrevs Problem: Continually need to redeclare an abbrev
Submitted by aimjiel on Tuesday, 15 May, 2007 - 19:32
Hi All

I did some poking around and searching and couldn't seem to find anyone else with this issue, which leads me to believe I made some kind of an error.

I have installed jEdit with superabbrevs several times, on Linux (slackware/ubuntu), Windows XP, and Windows Vista, and haven't had this problem until a while back. I got Vista, installed it, everything seemed to go okay, until I tried to use superabbrevs, now it keeps popping up the dialog to create an abbrev. Even if it has been defined, it still pops up, and has the abbrev defined, yet no matter what I do, I can't get it to stop popping the dialog box everytime I try to use an abbrev. It's rather frusterating.

Let me elucidate:

Everything freshly installed, stock, nothing else done except installing 4.2final and superabbrevs.

I open a new document, save it as say .php or anything, does the same thing.

I type : for then ctrl+enter : dialog pops up, okay...

I define what I want it to do: for ($i = 0; $i < count(${1:var});$i++) {${2:code}}

Then I add mode specific.

I type for ctrl+enter : dialog pops up, with my definition

Okay, maybe I need to add global, fine, I repeat the above, and add it as a global.

I type for ctrl + enter : dialog pops up

I scream, yell and curse, I try the above in every possible permutation.

No matter what I do, everytime I use ctrl + enter, (I even tried changin that, alt+r, removing the dlg popup shortcut, redefining the dialog popup shortcut etc every permutation.) That damn, hateful, evil dialog pops up, what am I doing wrong? I am at my wits end, it didn't use to behave like this...what did I mess up? I don't think it's a problem with superabbrevs itself, or there would have been others, somehow, I have screwed it up, one way or another...

Anyway, I am at my wits end, so if anyone has some advice, it would be much appreciated...
/Aimji
Pluging BufferTabs
Submitted by claudecnx on Wednesday, 9 May, 2007 - 16:27
Is it possible to add in the Buffertabs tab contextmenu a "new" and a "save as" entry?
How should I do that ?
what compiler can i use?
Background Plugin problem with 4.3pre9/Java 1.6.0
Submitted by Magno X on Tuesday, 8 May, 2007 - 17:22
Hello all

I upgraded to 4.3pre9, and now the background plugin is acting up. The image doesn't stay fixed when I scroll up and down, instead the image tears and segments repeat. Has anyone encountered this? Is there a solution?

Thanks
SVN Plugin?
Submitted by trimble on Friday, 13 April, 2007 - 19:31
Would anyone know if an SVN plugin is available for jedit? That would be very cool.
Spanish Translation
Submitted by crono0000 on Tuesday, 10 April, 2007 - 18:48
I like to known, if exists some version or plugin for jEdit in spanish, for the GUI and documentation.
User login
Browse archives
« May 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
31
 
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   83281
Context Free Art (*.cfdg)   0.31   46055
BBEdit scheme   1.0   18595
JBuilder scheme   .001   18495
ColdFusion scheme   1.0   18024
R Edit Mode - extensive version   0.1   17473
Advanced HTML edit mode   1.0   16206
Matlab Edit Mode   1.0   16068
jEdit XP icons   1.0   15229
XP icons for jEdit   1.1   14293