Which plugins for basic IDE/debugger
Submitted by
Jim on
Tuesday, 28 November, 2006 - 04:44
Hi, guess that says it. Would appreciate guidance on minimal plugins that will give me an IDE with auto indent, syntax coloring, and a debugger that allows conditional breakpoints and a way to view variables.
Thanks very much,
Jim
running processing files from jEdit?
hello all. First post here...
First of all... I love jEdit. Thanks very much for a wonderful program.
Then the question... Does anyone here use jEdit for editing processing ( http://www.processing.org/ ) files?
I want to be able to compile and run processing files from within jedit, to avoid switching between both ides when i want to publish. I know this is possible with eclipse, as explained here http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Integrate;action=display;num=1117133941 , and thought it could be possible in jEdit as well, as both are java based.
Does anyone know how could that be done?
I know this is more on the processing side than on jEdit, but I got no response on the p5 forums...
Thanks in advance for any help
Macro to run a focused Rubt testcase
Submitted by
wolfmanjm on
Monday, 27 November, 2006 - 02:26
Here is a macro that will run whatever Ruby testcase the cursor is currently in, it runs only that one test, not the whole thing.
Works well for Rails functional, unit and integration tests too.
Download from http://blog.wolfman.com/files/Run_Test_Case.bsh
Rails macro for moving between related files
Submitted by
marioaquino on
Saturday, 25 November, 2006 - 20:31
I have created a macro for jumping between related files in a Rails project. The macro figures out what file you have in your buffer and offers a popup list of other related files that you can jump to. There is a brief screencast demonstrating the macro that you can view on my blog: http://marioaquino.blogspot.com/
You can download the macro from: http://mario.blogdns.net/rails_macro.zip
Cheat RubyGem macros
Submitted by
charlesroper on
Friday, 24 November, 2006 - 18:17
I've created a couple of macros for the excellent Cheat RubyGem (check it out: http://cheat.errtheblog.com/). Download 'em from here:
http://homepages.nildram.co.uk/~charlesr/jedit/cheat_macros.zip
Charles
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?
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
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.
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.
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)
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.
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 avoid capturing output from console ?
Submitted by
tub on
Wednesday, 1 November, 2006 - 19:15
Hi,
I searched a little bit but could not find the option to disable this feature. Any hint?
thanks
wei
File encryption
Submitted by
mserero on
Monday, 30 October, 2006 - 17:48
I have some files that contains sensitive information and I would like to save them encrypted.
I use JEdit with openSSH to retrieve files from a server and I am wondering if there is a way I could use that feature to save sensitive file locally.
Any suggestions?
Non-standard characters not displayed
Submitted by
agoston on
Monday, 30 October, 2006 - 15:22
Hi!
When I'm editing a file (even a newly-created one), whatever non-standard characters (e.g. é, á, ü, ö, etc) I type, it's only a small square displayed in place of them. If I edit an existing file and then save it, the non-standard characters get messed up in it (shown as '?' if I look at them with another editor).
This is the command I run jedit with:
.../java/jdk/1.5.0_09/bin/java -Xmx512m -jar /home/agoston/jedit/4.2/jedit.jar $@ 2>/dev/null >/dev/null
(But it behaves the same way with other JVM versions.)
I'm working on SUSE Linux 10.1.
Some relevant settings:
Utilities / Global options / general /
default character encoding: ISO-8859-1 (but there's no difference in behaviour if I set it to e.g. UTF-8)
Auto-detect file encoding when possible: YES
Any idea on how to get jedit to get non-ISO-8859-1 characters right?
Thanks!
Agoston
How to setup Javasidekick for code completion?
Submitted by
Savior on
Sunday, 29 October, 2006 - 16:35
Hello,
I have troubles setting up the code completion feature of Javasidekick. Could someone with more experience than me please explain how to do it?
I have ProjectViewer and Javasidekick installed. I tried the following code:
String word = "word";
word.
When I entered the last ".", I waited for some seconds (code completion is set to 0.5s), but nothing happened; ctrl+b (the word completion) did not work either. I have added the rt.jar to the project's classpath in ProjectViewer, but still nothing... what am I missing?
Thanks,
Savior
How to compile.
Submitted by
morgue_ on
Wednesday, 25 October, 2006 - 01:38
Hi,I'm using Ubuntu. I installed jEdit and also the Console Plugin, however, when I try Plugins -> Console -> Javac
I'm getting this:
This shell runs operating system processes.
Press TAB with an empty command line to list built-in commands.
Run built-in with --help argument to get a brief usage message.
Run %help to view Console plugin online help.
Errors generated by compilers and some other programs are listed
for easy one-click access in the 'Plugins->Error List->Error List'
window.
/home/morgue> javac -classpath "$CLASSPATH:/home/morgue/workspace/Week 5 - GUI" -sourcepath "/home/morgue/workspace/Week 5 - GUI" -encoding UTF-8 "/home/morgue/workspace/Week 5 - GUI/NumberGuess2.java"
Process javac exited with code 127
/bin/bash: javac: command not found
/home/morgue>
What should I do?
How to launch jEdit from inside another Java program?
Sorry people this is probably a really dumb question but I've been searching the forum and the net for 2 hours and I can't find the answer.
I have a Java program that maintains a list of web pages. Presently the program is configurable to allow the user to select an editor of choice e.g. NotePad, WordPad, DreamWeaver etc. That editor is opened with the files that the user has selected from a list box. I would like it to be possible for jEdit to be used, however I have failed completely to get jEdit to launch. I have found numerous examples of code on the web that make a call like this -> jEdit.openFile(null, path) but when I use null for the View I get a null pointer exception. I've tried using jEdit.getCurrentView and that returns null (not surprisingly), I've even launched jEdit manually and getCurrentView still returns a null.
What am I missing, I assume this is possible? I don't want multiple instances, I just want a single instance of jEdit running with the ability to set it viewing one or more files that have been selected from inside of my Java program.
Any help most appreciated. I'm running jEdit 4.3pre7 under Windows XP Home.
Console subshell path
Submitted by
neurophyre on
Saturday, 21 October, 2006 - 23:29
Console doesn't recognize my 'subshell path' until I hit 'apply' in the plugin options every time after I load jEdit. This is extremely annoying and can't be working as intended. Is there a workaround for it?
How come I can't use Python interactively in the console (anymore)?
Submitted by
wildemar on
Tuesday, 17 October, 2006 - 16:46
WinXP SP2, Python 2.4 and 2.5, jEdit 4.3b7, Console 4.2.6.5
It used to be possible with some older version (a while back) but now it doesn't work anymore ...
thx
wildemar