Console plugin: default for the -classpath option
Submitted by
w0073r on
Monday, 15 November, 2004 - 16:46
I looked around, but couldn't find a solution.
I'm on Windoze, in a computer lab, so I don't have the ability to change my classpath. How can I get the Console plugin to default the -classpath option when I compile/run Java classes to a specific string, rather than just $CLASSPATH;?
So I want it to default to $CLASSPATH;;"H:\compsci\MBS\Code\mbsgui.jar";"H:\compsci\MBS\Code\mbsbb.jar". The JCompiler plugin does that, but that doesn't help for running the file.
Thanks.
Console plugin: default for the -classpath option
Submitted by
w0073r on
Monday, 15 November, 2004 - 16:46
I looked around, but couldn't find a solution.
I'm on Windoze, in a computer lab, so I don't have the ability to change my classpath. How can I get the Console plugin to default the -classpath option when I compile/run Java classes to a specific string, rather than just $CLASSPATH;?
So I want it to default to $CLASSPATH;;"H:\compsci\MBS\Code\mbsgui.jar";"H:\compsci\MBS\Code\mbsbb.jar". The JCompiler plugin does that, but that doesn't help for running the file.
Thanks.
JTA SSH Plugin
Submitted by Anonymous on Monday, 15 November, 2004 - 19:13
Has anyone succesfully tried that plugin, available from http://www.twdata.org/jta/?
I have, but I can't make a connection. I write host name, user name and password and it goes fine but I dont't get a connection. It doesn't show me any error messages - nothing just happens. Got ideas?
Loading and then editing a file
Submitted by
AlvinD on
Tuesday, 16 November, 2004 - 03:43
I have a macro which will parse and modify a list of files. It works as long as the files are preloaded. However, when I use the statement "FileBuffer = jEdit.openFile(view,FilePath+File);" The file is loaded, but it is not editable from within the macro! I can use the "iseditable" method to verify that the textarea is not editable after I open the file. I have spent much time and had no luck in finding out how to make the textarea editable after using an "openFile" statement.
I'm sure the answer is simple, but I have not found it.
Any help would be appreciated.
Modified Java Commando File ( includes 1.5 ) (javac.xml v0.01 by Mark Woodward)
This simply adds 1.5 as a target to the java.xml commando file. I've also made it the default and rearranged the others from most recent to oldest. Drop it in the ~/.jedit/console/commando folder and restart for it to take effect.
Vim like copy character above/ below macros (copyCharMacros.zip v0.1 by Mark Woodward)
Two of the features in vim I find I use often is C-Y and C-E. What these do is copy either the character above the cursor (C-Y) or below it (C-E). This is a first take on that functionality in JEdit.
Eg:
If the line above is;
System.out.println
then using Copy_Char_Above (I have it mapped to CS-Y) will copy one character from the line above to the current line. If I held CS and hit Y 6 times I'd get;
System.
I could then write err for eg, then hold down CS-Y to complete the line;
System.err.println
Helpful when you have repetitive lines that you aren't likely to ever use again so theres no point assigning an abbreviation to it.
Is possible to decrease a width of gutter border?
Submitted by Anonymous on Wednesday, 17 November, 2004 - 10:19
Is possible to decrease a width of gutter border?
--
Regards, Skalex.
Nice Aqua icons for jEdit (Aqua-jedit-icons.jar vv.1.0 by ThON, with help from HYKO)
Submitted by
thon on
Wednesday, 17 November, 2004 - 18:54
Here is a nice (I think) collection of icons for jEdit, based on
Aqua icons theme for KDE, which I've downloaded from www.kde-look.org.
Enjoy...
(Simply place the .jar file in the $JAVA_DIR/jre/lib/ext directory
and restart jEdit)
how to highlight java code and how to get rid of the blue line
Submitted by Anonymous on Wednesday, 17 November, 2004 - 21:15
Hi!
sorry, i'm a newbie, so...
the features list "highlighting of many languages"... my java files has no different colors or highlighting at all. i installed some plugins, and it did well with html code, but not with my java code. could it be it is, because it's not named .java?
and how do i get rid of the blue vertikal line?
what is it good for?
thanks for your help!
Arne
how to highlight java code and how to get rid of the blue line
Submitted by Anonymous on Wednesday, 17 November, 2004 - 21:16
Hi!
sorry, i'm a newbie, so...
the features list "highlighting of many languages"... my java files has no different colors or highlighting at all. i installed some plugins, and it did well with html code, but not with my java code. could it be it is, because it's not named .java?
and how do i get rid of the blue vertikal line?
what is it good for?
thanks for your help!
Arne
how to highlight java code and how to get rid of the blue line
Submitted by Anonymous on Wednesday, 17 November, 2004 - 21:19
Hi!
sorry, i'm a newbie, so...
the features list "highlighting of many languages"... my java files has no different colors or highlighting at all. i installed some plugins, and it did well with html code, but not with my java code. could it be it is, because it's not named .java?
and how do i get rid of the blue vertikal line?
what is it good for?
thanks for your help!
Arne
Beanshell Plugin issue
Submitted by
rmsh on
Wednesday, 17 November, 2004 - 21:35
Hi
"getClassPath()" function in Beanshell console is throwing the following error
Surprisingly, same command works fine in beanshell standalone.... any clues what is happening here.
Sourced file: inline evaluation of: ``getClassPath();'' : reflection error: bsh.ReflectError: Method getClassPath() not found in class'org.gjt.sp.jedit.BeanShell$CustomClassManager' : at Line: 10 : in file: getClassPath : .getClassPath ( )
Called from method: getClassPath : at Line: 1 : in file: inline evaluation of: ``getClassPath();'' : getClassPath ( )
at bsh.BSHPrimarySuffix.doSuffix(BSHPrimarySuffix.java:131)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:80)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
at bsh.BSHAssignment.eval(BSHAssignment.java:77)
at bsh.BSHBlock.evalBlock(BSHBlock.java:130)
at bsh.BSHBlock.eval(BSHBlock.java:80)
at bsh.BshMethod.invokeImpl(BshMethod.java:349)
at bsh.BshMethod.invoke(BshMethod.java:246)
at bsh.BshMethod.invoke(BshMethod.java:179)
at bsh.Name.invokeLocalMethod(Name.java:915)
at bsh.Name.invokeMethod(Name.java:805)
at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:72)
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 console.ConsoleBeanShell.execute(ConsoleBeanShell.java:73)
at console.Console.run(Console.java:412)
at console.Console.access$1300(Console.java:44)
at console.Console$RunActionHandler.actionPerformed(Console.java:758)
at console.ConsolePane.fireActionEvent(ConsolePane.java:134)
at console.ConsolePane$EnterAction.actionPerformed(ConsolePane.java:347)
at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1571)
at javax.swing.JComponent.processKeyBinding(JComponent.java:2730)
at javax.swing.JComponent.processKeyBindings(JComponent.java:2765)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2693)
at java.awt.Component.processEvent(Component.java:5265)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1810)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:668)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:916)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:794)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:632)
at java.awt.Component.dispatchEventImpl(Component.java:3841)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Window.dispatchEventImpl(Window.java:1766)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
-Ramesh
Input Method Editor for jEdit
Submitted by
bibiko on
Thursday, 18 November, 2004 - 10:19
Dear all,
this is only to let you know that there is a way to input foreign language scripts with jEdit.
Under https://sourceforge.net/projects/jgim/ you will find a java based customizable input editor for all java applications. If you install it and make sure that you have installed the right fonts you are able to input Chinese, Kannada, Bengali etc. It based on Yudit coming from UNIX. It is a very good solution with some disadvantages of choosing the right character but this issue stands on the ToDo list. By the way is there any chance to write with jEdit Arabic or Hebrew, i.e. is there any support for writing from right to left?
All the best
Hans
Input Method Editor for jEdit
Submitted by
bibiko on
Thursday, 18 November, 2004 - 10:20
Dear all,
this is only to let you know that there is a way to input foreign language scripts with jEdit.
Under https://sourceforge.net/projects/jgim/ you will find a java based customizable input editor for all java applications. If you install it and make sure that you have installed the right fonts you are able to input Chinese, Kannada, Bengali etc. It based on Yudit coming from UNIX. It is a very good solution with some disadvantages of choosing the right character but this issue stands on the ToDo list. By the way is there any chance to write with jEdit Arabic or Hebrew, i.e. is there any support for writing from right to left?
All the best
Hans
Better indenting?!?
Submitted by Anonymous on Thursday, 18 November, 2004 - 15:44
I like Jedit a lot, but I keep having trouble with the indenting. In perl, the indenting code simply does not seem to understand situations when a statement is being continued on the next line. In these cases, there should be some extra-indent (e.g. one additional indent level), but Jedit does not do that.
Deep indent does not work correctly either because it will indent way too deep in many situations.
It would really be great if this would work like in other editors, e.g. (x)emacs, where the indenter actually knows about the syntax of the language to indent and acts accordingly.
Is there a way to replace the default indenting by a plugin that would try to do it more intelligently?
How to paste strings in JEdit text area by clicking a plugin button
Submitted by Anonymous on Thursday, 18 November, 2004 - 16:06
Hi,
I'm trying to paste strings generated by my plugin in the JEdit main window.
I'm writing "something.setSelectedText()", but it arises a compiler error while importing " org.gjt.sp.jedit.textarea.* ".
What do I have to do? Or...: what's the easiest way to do what I want?
Thanks,
Mik
I/O thread blocking when there is available threads
Submitted by Anonymous on Thursday, 18 November, 2004 - 20:35
I am trying to identify or at least understand the I/O thread. When I do a search in a project, it takes some time, during that time, I cannot open a file because Jedit reports that 1 I/O operation is in progress. However when I view the available I/O threads in utilities/troubleshooting, I see that I can have up to 4. So why cannot I open a file when there is an empty I/O thread slot available ?
Do I have to tell Jedit to use threads in parallel ? Is there a setting where I can increase the number of threads ? Thanks a lot.
Uninstalling JEdit
Submitted by Anonymous on Thursday, 18 November, 2004 - 20:45
Hi There,
Was wondering what the procedure is to uninstalling jEdit on MacOS X is... the jEdit documentation relates uninstalling to Windows...
thanks
What is the best java code completion plugin
Submitted by
rmsh on
Thursday, 18 November, 2004 - 21:33
Hi,
I'm relatively new to jEdit, still under experimenting stage. I see more than one choice for java code completion. Which one of them is the best and works fine.
I tried codeaid and had some troubles making it work with jEdit4.2.
Thanks in advance
-Ramesh
Newbee needs help with new Mode:
Submitted by
phcjpp on
Friday, 19 November, 2004 - 12:23
Hi,
Quick question I am trying to use a SPAN_REGEXP that really needs a regexp in the tag too and I was wondering if there is a way round this
A comment starts with / on a new line and ends with a \ on a new line - if possible whitespace should be ignored e.g.
(^[[:blank:]]*/[[:blank:]]*$)
and should end with
(^[[:blank:]]*\[[:blank:]]*$) (NOT ALLOWED!)
is there a way round this ?
Thanks
Chris