how to set up simple IDE? how to download plugins?
Submitted by
Jim on
Thursday, 2 November, 2006 - 05:39
hello, I just downloaded jEdit to replace jGRASP; I want smart indenting. But jEdit is not an IDE, just an editor. There are lots of plugins but I dont' know what's what. What are simple plugins to download that give me an IDE with debugger that steps through code, data structure examiner, compiler, and code editor with colored syntax and smart indenting?
Also, when i try to download I get a connection error. I selected some plugins and tried to install but it didn't succeed in downloading them..."An I'O error occurred, connection refused (connect)"
Thanks very much for any assistance,
Jim
APDL v2 Edit Mode (apdl2.zip v0.9.9 + by Sven Gleich)
Submitted by
Sven Gleich on
Thursday, 2 November, 2006 - 09:55
Edit mode for APDL Language based on the APDL.xml version 0.9.8 by Randolf Mock
Works with jEdit 4.2final (APDL2.xml v0.9.9), for different syntax highlighting the Editor Scheme Plugin v1.0 is required
Works with jEdit 4.3pre7 (APDL2.xml v0.9.11), for different syntax highlighting the Editor Scheme Plugin v1.0 is required
Tested with jEdit 4.3pre18 (APDL2.xml v0.9.11) and Editor Scheme Plugin v1.2
Improved
========
- recognition of digits with exponents
- doubles in *get-function tags changed
- doubles in ansys commands deleted
- together with APDL2.jedit-scheme (via the Editor Scheme Selector Plugin)
colours similar to UltraEdit-32 APDL syntax highlighting
Changed:
========
<KEYWORD1>: ANSYS commands
<KEYWORD2>: ANSYS star commands (e.g. *get)
<KEYWORD3>: ANSYS command options
<KEYWORD4>: ANSYS slash commands
<FUNCTION>: abbreviated *get commands
Install:
========
Put the APDL2.xml into the <jedit>/modes folder.
Add the following lines to the catalog-file:
<MODE NAME="apdl2" FILE="apdl2.xml"
FILE_NAME_GLOB="*.{ans,inp,mak,mac,apdl}" />
Remove the lines with the <MODE NAME="apdl" ...>
or make changes to the file extensions.
Install the Editor Scheme Plugin if required.
Put the APDL2.jedit-scheme into the <user-home>/.jedit/schemes folder.
Activate under Plugins -> Editor Scheme Selector the APDL2 scheme with "Apply".
Bugs
====
- frequent use of the keyword "node" inside the xml is not been distinguished between keyword1 and keyword3
- "pres" as a get function and "pres" as a abbreviation for "presol" is not been distinguished
- the topic to the keyword "node" does also apply to pres, temp, volt, mag, vx, vy, vz,...
2009-Nov-10 bugfix (comment with utf-8 character changed)
console path
Submitted by
mauricio on
Thursday, 2 November, 2006 - 22:15
the default directory of console is the jedit's parent directory.
Is there a way to change this and set the default path to the parent directory of the current buffer?, this would by useful to run ruby scripts.
thanks in advance
How to switch between split windows without using mouse click?
Submitted by
kenweb on
Friday, 3 November, 2006 - 23:38
currently, I use mouse click to switch to different split windows within Jedit, is there a keyboard shortcut I can use to do that?
Thanks.
4.3p7: Paint errors
Submitted by
Baldurien on
Saturday, 4 November, 2006 - 23:29
Hi, I have this exception in Activity Logs :
[error] ExtensionManager: Error repainting line range {0,41}:
[error] ExtensionManager: java.lang.ArrayIndexOutOfBoundsException: -42
[error] ExtensionManager: at org.gjt.sp.jedit.syntax.DisplayTokenHandler.canMerge(DisplayTokenHandler.java:226)
[error] ExtensionManager: at org.gjt.sp.jedit.syntax.DisplayTokenHandler.merge(DisplayTokenHandler.java:193)
[error] ExtensionManager: at org.gjt.sp.jedit.syntax.DisplayTokenHandler.handleToken(DisplayTokenHandler.java:94)
[error] ExtensionManager: at org.gjt.sp.jedit.syntax.TokenMarker.markTokens(TokenMarker.java:250)
[error] ExtensionManager: at org.gjt.sp.jedit.buffer.JEditBuffer.markTokens(JEditBuffer.java:1218)
[error] ExtensionManager: at org.gjt.sp.jedit.textarea.ChunkCache.lineToChunkList(ChunkCache.java:771)
[error] ExtensionManager: at org.gjt.sp.jedit.textarea.ChunkCache.updateChunksUpTo(ChunkCache.java:646)
[error] ExtensionManager: at org.gjt.sp.jedit.textarea.ChunkCache.getLineInfo(ChunkCache.java:255)
[error] ExtensionManager: at org.gjt.sp.jedit.textarea.ExtensionManager.paintScreenLineRange(ExtensionManager.java:102)
[error] ExtensionManager: at org.gjt.sp.jedit.textarea.Gutter.paintComponent(Gutter.java:131)
[error] ExtensionManager: at javax.swing.JComponent.paint(JComponent.java:1005)
[error] ExtensionManager: at javax.swing.JComponent.paintChildren(JComponent.java:842)
[error] ExtensionManager: at javax.swing.JComponent.paint(JComponent.java:1014)
[error] ExtensionManager: at javax.swing.JComponent.paintChildren(JComponent.java:842)
[error] ExtensionManager: at javax.swing.JComponent.paint(JComponent.java:1014)
[error] ExtensionManager: at javax.swing.JComponent.paintChildren(JComponent.java:842)
[error] ExtensionManager: at javax.swing.JComponent.paint(JComponent.java:1014)
[error] ExtensionManager: at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4963)
[error] ExtensionManager: at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4916)
[error] ExtensionManager: at javax.swing.JComponent._paintImmediately(JComponent.java:4859)
[error] ExtensionManager: at javax.swing.JComponent.paintImmediately(JComponent.java:4666)
[error] ExtensionManager: at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:451)
[error] ExtensionManager: at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:114)
[error] ExtensionManager: at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
[error] ExtensionManager: at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
[error] ExtensionManager: at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
[error] ExtensionManager: at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
[error] ExtensionManager: at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
[error] ExtensionManager: at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
[error] ExtensionManager: at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
That the first time I see it.
If someone has an Idea?
Hardware:
Gigabyte-965P-DS4
C2D E6400
1G Ram
MSI7900GTO512MB (drivers: 93.71)
Suggestion on plug ins?
Submitted by
Jim on
Monday, 6 November, 2006 - 04:35
Hello, I'd like to set up a nice IDE with debugger that can step through code. What are the essential plug in to install?
Also, I get a connection error when I try to download plugins. Does anybody know where I can get help?
Thanks
Jim
Syncronize working directory of console and/or beanshell with current buffer (ChangeDirectory.bsh v1.4 by Robert Schwenn)
This macro changes the working directory of console plugin and/or beanshell to the current buffer's parent directory. This is controlled by two properties, which have to be set manually.
The macro is intended for use with the action hooks pugin, bound to the events "BufferUpdate.LOADED" and "EditPaneUpdate.BUFFER_CHANGED". So the working directory of console is synchronized with current buffer (almost) every time.
Last Update: Now for Linux, too: Invoke cd command only, if buffer directory really has changed.
C mode line comments
Submitted by
prg on
Monday, 6 November, 2006 - 23:03
Using jEdit4.2final. Problem with mode C and line comments.
#define SAT_DEFAULT 128 // Saturation Control Register [128/0x80]
Editor sees the line comment as something else. The syntax highlight color is dark green (keyword2) just like the constant label. The numbers inside the square brackets are highlighted as digit (bright red). If the comment is enclosed with /*....*/ it is correctly recognized as a comment. It appears that this problem happens when the line comment follows a digit type. This bug was supposedly fixed see 696765
FTP plugin exception
Submitted by
jg on
Tuesday, 7 November, 2006 - 14:46
I've been using jedit for a while now, recently updated to 4.3pre7 from 4.2Final
I'm using FTP plugin version 0.8
when I go to save a file, I often get the below exception.
I then can't save the file, I have to select all, copy to clipboard, close the file, re-open the file, and paste my file contents over the previously saved version. Very annoying. Any ideas??
Thanks
avax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.SAXParserFactoryImpl could not be instantiated: java.lang.NullPointerException
at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
at com.sshtools.common.hosts.AbstractHostKeyVerification.(Unknown Source)
at com.sshtools.common.hosts.AbstractHostKeyVerification.(Unknown Source)
at com.sshtools.common.hosts.DialogHostKeyVerification.(Unknown Source)
at ftp.SFtpConnection.(SFtpConnection.java:47)
at ftp.ConnectionManager.getConnection(ConnectionManager.java:267)
at ftp.FtpVFS.getConnection(FtpVFS.java:451)
at ftp.FtpVFS._getFile(FtpVFS.java:287)
at org.gjt.sp.jedit.Buffer.save(Buffer.java:432)
at sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at bsh.Reflect.invokeMethod(Reflect.java:134)
at bsh.Reflect.invokeObjectMethod(Reflect.java:80)
at bsh.Name.invokeMethod(Name.java:858)
at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:75)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
at bsh.BSHBlock.evalBlock(BSHBlock.java:130)
at bsh.BSHBlock.eval(BSHBlock.java:80)
at bsh.BshMethod.invokeImpl(BshMethod.java:362)
at bsh.BshMethod.invoke(BshMethod.java:258)
at bsh.BshMethod.invoke(BshMethod.java:186)
at org.gjt.sp.jedit.BeanShell.runCachedBlock(BeanShell.java:509)
at org.gjt.sp.jedit.BeanShellAction.invoke(BeanShellAction.java:76)
at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:440)
at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:406)
at org.gjt.sp.jedit.gui.DefaultInputHandler.handleKey(DefaultInputHandler.java:373)
at org.gjt.sp.jedit.gui.InputHandler.processKeyEventKeyStrokeHandling(InputHandler.java:295)
at org.gjt.sp.jedit.gui.InputHandler.processKeyEvent(InputHandler.java:184)
at org.gjt.sp.jedit.textarea.TextArea.processKeyEvent(TextArea.java:4557)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Still broken XML plugin (or is it SideKick).. and who the hell is hy263?
Submitted by
gribelu on
Thursday, 9 November, 2006 - 07:58
HTML tag highlighting hasn't worked on 4.3pre7 and still doesn't on 4.3pre8

.. I tried the SVN versions of both plugins with no luck.
Or am i doing something wrong?
And... Who is that annoying user and why isn't anyone doing anything about it?
Cheers
why o why won't Error List display content of warnings
Submitted by
fwelland on
Thursday, 9 November, 2006 - 14:56
JEdit 4.3p8 -- jdk 1509 - WinXP.
using antfarm with external 'ant.bat' from ANT 1.65 and javac task w -Xlint.
Jedit will run the ant task fine and even colorize warnings (and errors correctly) in the console output.
But in the error list for warings, the correct line number appears (w warning icon), but the warning message is not there - just blank...
Errors seem ok - line numbers, error icon, and message show in error list.
This happened for 4.3p7 too. Hoping that 4.3p8 might correct this.
exam prep sites ?
Submitted by
jakannan on
Monday, 13 November, 2006 - 23:14
iam going to study for mcse , ccna and ocp in my next couple of month and i was looking for sites with package deals .... i came across hotcerts.com . anyone knows how good is their $85 all exams package and is it worth it ???? . looking for ur responses
can't see screen using Jedit 4.3pre8
Submitted by
liran vigdor on
Wednesday, 15 November, 2006 - 07:05
I was using jedit 4.2 and now tried to transfer to 4.3pre8 , but when starting Jedit , I cant see anything, and only if I pass on the screen with the mouse it will show the screen - this is true only for the icons and other jedit stuff, the files themself can't be seen anyway !
thanks
What's best to use for XML formatting? Tried JTidy but it's causing line breaks
Submitted by
rickcr on
Wednesday, 15 November, 2006 - 19:26
What is the best plugin for formatting XML files? I tried using JTidy but I can't seem to figure out how to get it to not put in a line break in between every line. TIA for any help.
Console plugin significantly slows down build process
Submitted by
shlomy on
Sunday, 19 November, 2006 - 11:59
Hi,
I've started using the Console plugin (with the ErrorList plugin) to build our project. First, I must say that the Console plugin is really great - it is very easy to configure to support other tools (e.g. g++), and it simplies working with jEdit a lot.
The problem is that the output of my build process, which is quite large, is displayed in the Console plugin very slowly (much slower than the Linux shell), and this slows down the build significantly. Any idea why this happens or what I can do to fix this slowdown?
Also, from the documentation of the Console plugin, it seems like it tries to match all the Error Patterns until it finds a match. Is this the way it works? While it may be good enough for most purposes, there are several problems with this:
1. Lines which do not express errors in the output of one tool, may express errors in the output of another tool. So if I'm running the first tool, I may get false errors because its output is also matches with the other error patterns. (Probably rare, though)
2. The output is probably slowed down by several redundant pattern matches.
Since the Console plugin cannot really know which tool is generating the output, it can either try all of the Error Patterns or rely on the user to indicate which Error Patterns to include. When I run "make", I only have "g++" output, so I don't need to match all other patterns (I've added a 'g++' error pattern manually). When I run Perl, I only have Perl output. I can erase some error patterns to exclude them, but I think the Console plugin should enable the user to select the active error patterns to use (e.g. using check-boxes or using disable/enable buttons below the Error Patterns list), to avoid unwanted pattern matches.
Shlomy
In firefox, drop downs are not legible. They are close to zero width. Simple CSS fix.
Submitted by
Anup on
Sunday, 19 November, 2006 - 18:22
The community web site, for ages, has had drop downs that cannot be read, because their width is screwed up.
The problem is by the following CSS rule (around line 38 of style1.css)
.box * {
max-width: 100%; /* make sure textarea's and inputs do not overflow the containing box */
}
The * makes EVERYTHING have this max-width, and it is not needed.
Removing it sorts it out. If you really want this just for text areas and inputs, then use this:
.box textarea, .box input {
max-width: 100%; /* prevent overflow of the containing box */
}
This is critical, for it prevents using the web site effectively under Firefox (which I imagine is a LARGE audience for this site) because you can't read the drop downs. User participation will hopefully increase when this is done.
Please create a feature to allow community members to monitor forum blogs and delete fake/spam users
Submitted by
Anup on
Sunday, 19 November, 2006 - 18:27
The tons of chinese comment spam is wrecking the usefulness of JEdit's community site. Here are some ideas (not knowing anything about Drupal) how to sort this out:
1) Community self-policing: allow/invite some users somehow (loyal, longtime, frequent posters, ask who is interested?) to volunteer to police the community site. Limit capability only to delete posts, or report a user abusing the site (this will prevent misuse by volunteers!). Then, when users or posts are marked as requiring deletion or something, another group agrees, or the admin has final say or something like that.
Of course, this needs to be done in such a way that the same robots that create accounts and post content do not create volunteer accounts!
2) Put rel="nofollow" or whatever it is, in the anchor tag of html posts, so that spammers have no need to try and create fake accounts. They are just trying to increase their links so that search engines will follow them.
Drupal must have some comment spam plug-in surely?
Not addressing this for so long is creating a negative impression amongst users, and losing the value of this open-source project... JEdit itself is excellent, but its natural support has to be good too.
WTF MAKES A NEW LINE???
Submitted by
thinsoldier on
Sunday, 19 November, 2006 - 19:26
I need to fine all commas (,) and replace them with a new line/ carriage return.
for example: jim,jane,john,joe,kelly,kent,kimberley
becomes:
jim
jane
john
etc....
HOW?
in BBEdit I can
find: ,
replace: \r
done.
but jedit doesnt respond to \r, \n, \r\n it just literally replaces the , with \ r \ n !
ie: jim\rjane\rjohn\rjoe\rkelly\rkent\rkimberley !
And where is the best place to find active JEdit users? Is there an irc channel anywhere?
ABB RAPID edit mode (jEdit-ABB_RAPID.zip v0.0.1 by Andrew Thompson)
Submitted by
andrewt on
Thursday, 23 November, 2006 - 05:28
Edit mode for jEdit 4.2 for ABB RAPID robot programming language.
Note this is not 100% complete. It has been some time since I worked on this, but thought I should make this available "as-is" at least. Please feel free to develop it!
In particular, there is no auto un-indent - as far as I know this was not supported by jEdit 4.2
Includes code browser support via ctags.
Favorites / FTP-Plugin: label for connections?
Submitted by
pepl on
Thursday, 23 November, 2006 - 10:51
Hi!
I'm using jEdit to edit files (almost Perl) which resides on Unix servers who are placed in strong secured areas in our company.
The only way to access these files is to use a special server over which i have to establish SSL tunnels to the servers.
This means that i'm always connecting over one server on different ports.
I save these connections as favorites and unfortunately they all, for example, look like this:
'sftp://user@server:55010/usr/ldap'
'sftp://user@server:55020/usr/ldap'
'sftp://user@server:55030/usr/ldap'
'sftp://user@server:55040/usr/ldap'
'sftp://user@server:55020/prj/ldap/scripts'
'sftp://user@server:55040/prj/ldap/scripts'
This could be connections to four different servers - ports 55010,...,55040 (e.g. production, test, etc.).
Until now i have 12 connections defined who all look like the example above.
As you can see this ist very confusing, very unclear.
If there where the possibility to enter labels for favorites or for ftp-connections it would be much easier for me.
In Ultra-Edit there's a possibility to name (to label) connections (i used Ultra-Edit before).
Do you think it's possible to create a feature like labeling or naming favorites or ftp-connections?
Thanks
Pepl