Disabling Changed File Check on Alt-Tab/Change of Program focus
Submitted by
Aristoi on
Tuesday, 19 December, 2006 - 21:30
I am using jEdit 4.3pre3 on Windows XP.
When I switch to another application, and back to jEdit, there is a significant lag while the Samba share refreshes. I assume that jEdit is checking to be sure the file contents have not changed. I have set the global option "If files are changed on disk" to "do nothing" but it still seems to be checking. The 5 second lag is rather maddening, and I would like to know if there is any way to disable this file check entirely.
Thank you in advance to anyone who has any kind of solution!
View File Sys Browser as Tree
Submitted by
mattslav on
Wednesday, 13 December, 2006 - 14:44
I would like to view the File System Browser as a tree, similar to Windows Explorer. Is this possible?
Edit Modes: Brackets in Literals
Submitted by
jaaa on
Wednesday, 13 December, 2006 - 09:13
Hi,
I have a problem with edit modes and string literals with brackets in jEdit.
I'm working on a little custom query language at the moment. jEdit would be an ideal editor for it if I just could get the edit mode working. The problem is that I have literals that contain brackets and that seems to break the "Complete Word" feature as well as the syntax highlighting.
Here's an example of the mode:
"
"
=
AND
OR
Attribute1
Attribute2
Attribute3
NULL
Value1
Here's an example of a simple query:
(Attribute1 AND Attribute2) OR (Attribute1 AND Attribute3="Value2 (detail)")
Uncommenting the literal with the brackets breaks the edit mode as already mentioned. Is there a way to get aroung this? Am I missing something? I tested with both 4.3pre and 4.2 on WinXP/jdk1.5.0_09.
Thanks,
Jussi
Jedit forget (some) settings
Submitted by
matthewyoung on
Sunday, 10 December, 2006 - 22:56
I am using 4.2final under Ubuntu 6.10.
I set "View->line number" checked, "Plugins->Buffer tab" checked. On restart, these settings are not restored. But tab width setting is. What's going on?
Compiling/Running from within jEdit?
Submitted by
vapourmle on
Sunday, 10 December, 2006 - 14:47
HI there, I'm new, I have been trying jEdit, I quite like it but I have been alt+TABing between it and a console window which I do my compiling in. this is a bit awkward as I'd like to compile from within the editor, but I can't find any documentation that tells me how to do it? Are there compile/run buttons in jEdit, if so, what are they?
Also, I have never really grown to love its colourless icon scheme, are they ways of changing this, for example skins?
Timed out installing plugin under Ubuntu
Submitted by
matthewyoung on
Friday, 8 December, 2006 - 22:19
In Ubuntu 6.10, I tried to install the RubyPlugin get Connection timed out exception. At the same time, I try to install plugin in Windows XP and it's fine so the mirror site is not the problem, right?
I am using Sun java version "1.5.0_08" in Ubuntu.
If automatic plugin install does not work, can I manually download and install plugin?
SQL Plugin - Connect to MS SQL Server from Linux?
Submitted by
erezbibi on
Wednesday, 6 December, 2006 - 16:38
I can connect to MS SQL Server with the SQL plugin from WinXP, I just create a User DSN in the ODBC manager of Windows, and insert the DSN name in Project->Properties->SQL...->DSN.
Has any one managed to connect to MS SQL Server from Linux? What should I write in the DSN text box?
Thanks
Erez Bibi
XQuery plugin trouble
Submitted by
clif2 on
Tuesday, 5 December, 2006 - 20:45
I can't get the XQuery plugin to recognise the base URL. The path supplied by the file browsers is delimited by \ and therefore invalid. I substituted / . The path was accepted, but the adapter produced no output. I modified my query so that it didn't depend on the base URL and it worked. So the problem would seem to be with the URL. I also tried prefixing file:/// but that was reported as not pointing to any directory.
Has anyone managed to get the base URL working and pointing to the local file system?
Any suggestions?
HAML language mode
Submitted by
wolfmanjm on
Saturday, 2 December, 2006 - 02:15
Here is a first attempt to implement a HAML language mode for the Ruby on Rails HAML plugin.
It is documented here: http://blog.wolfman.com/articles/2006/12/01/a-haml-edit-mode-for-jedit
You can download it from here: http://blog.wolfman.com/files/haml.xml
Hypersearch results - link to editor
Submitted by
shlomy on
Tuesday, 28 November, 2006 - 07:01
This is just a curiosity question: I noticed that that clicking items in the hypersearch results brings me to the correct place in the file even after adding/removing lines in various places in the file and modifying the line to which the result was linked. This makes me think that each hypersearch result stores the line number in which it originated, and then jEdit either updates these line numbers when the file is modified or uses the undo buffer to find the up-to-date line number of the search result when it is clicked. Am I correct?
I am asking this because a similar problem exists with the ctags outlines - CtagsSideKick, CodeBrowser - neither of them works well in tracking the correct location in the code after it is modified (unless 'parse on keystroke' is used).
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)