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
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).
generating/destroying macros for RoR developers (rormacros.rar v0.11 by Panya)
Submitted by
Panya on
Tuesday, 28 November, 2006 - 18:44
This is a macros for generating / destroying:
- Models
- Controllers
- Integration tests
- Migrations
- Scaffolds
This macros requires
Console plugin.
For the correct working you must be in RoR project directory.
Trouble writing an edit mode with line continuation characters
Submitted by
logris on
Tuesday, 28 November, 2006 - 21:35
I am trying to write an edit mode for "JPL", the code behind a 4GL language called Panther and created by Prolifics. I have run into a problem that I cannot find a solution to and I would like to pose it to the JEdit community for any ideas.
Panther statements are newline terminated with a line continuation character. This seems to be the root of my problems. I would like to syntax highlight embedded SQL-like statements using keywords that only pertain to the embedded language. Here is an example of the embedded statement I would like to highlight:
// Call some function
call some_func()
// Begin the embedded SQL to highlight
DBMS SQL SELECT column \
FROM table \
WHERE column = 'Value'
// Do something else
for i= ...
The statement I want to highlight always begins with 'DBMS' and ends at the end of line, unless there is a line continuation character. There can be any number of continued lines. The statement ends at the end of the first line without a continuation character. For now, I will assume nothing can go after the continuation character (no comments).
Any ideas on how to match and delegate this statement to a seperate set of <RULES>? The best I have found so far is use <SEQ> to match the beginning DBMS statement and use <SEQ_REGEXP> to match on " [^\s\\]*$" with a hash character of " " for the end, but that tends to mess up my last token's highlighting.
Maybe there is a way to match on newline or detect the end of line? Or delegate when no more tokens are left on a line? Or match across a line?
Any help would be appreciated. Thanks. =)
diff between folders
Submitted by
bambule on
Tuesday, 28 November, 2006 - 21:37
Hi all,
the jEdit has the nice JDiff Plugin. But sometimes I need to diff two folders. I would be nice to have a Plugin to select two folders and the different files will be shown in JDiff. So the most difficult things are done and there is just an interface needed between JDiff and "FolderDiff".
Wrong Cursor Image with Ubuntu Linux
Submitted by
hamoda on
Tuesday, 28 November, 2006 - 23:33
I use jEdit 4.2 with Ubuntu Linux 6.10 and Java RE 1.5. The cursor image does not seem to be sensitive of the respective GUI's area, instead it is the arrow pointer in the whole left part of the application's window, and in the right part it becomes the I-beam, from top to bottom of the window. I did not experience this behaviour under Windows.
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
HAML language mode (haml.xml v1.0 by Jim Morris)
Submitted by
wolfmanjm on
Saturday, 2 December, 2006 - 03:09
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
Fixing java.lang.outofmemoryerror in Mac OS X
Submitted by
AndrewClarke on
Tuesday, 5 December, 2006 - 11:27
I want to increase my heap space from 64MB since I run out so often. I have read about and know the command line switch to do this, but I can't figure out how to set this up so it happens automatically when I click on the JEdit.app icon in OS X. Can anyone tell me how to do this?
Thank you very much,
- Andrew Clarke.
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?
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
How do I launch the appropriate application for a file?
Submitted by
turtlecove on
Wednesday, 6 December, 2006 - 19:34
I am trying to write a macro that opens the file named in the selection with the appropriate application. For example, [mysheet.xls] would start Excel and open the file mysheet.xls, [mytext.txt] would open Notepad...
I've tried sending the filename to cmd.exe, but that doesn't work. I've tried sending it to Explorer but that just views it in explorer.
Here's what I have (not working properly):
// launch app to open file NOT WORKING!
/*
os = System.getProperty("os.name");
if(os.indexOf("Windows 9") == -1 && os.indexOf("Windows M") == -1) {
comspec = "cmd.exe /C ";
} else {
comspec = "command.exe /C ";
}
*/
comspec="explorer.exe ";
if (myfile.matches("[\\/]")) {
command=comspec+myfile;
} else {
// handle relative paths:
command=comspec+buffer.getDirectory()+myfile;
}
// Macros.error( view, "launching "+command);
setAccessibility(true);
runtime = new java.lang.Runtime();
runtime.exec(command);
return;
Searching for a file in a list of directories
Submitted by
turtlecove on
Wednesday, 6 December, 2006 - 19:54
I am trying to find a single specified file in a set of directories. The filename is currently selected, the directories are listed at the bottom of my text file as follows: [path:adirectory][path:anotherdirectory][path:yetanotherdirectory].
The paths are searched recursively (ie: subdirectories are searched as well), or alternatively I can allow globs in the paths like so: [path:C:\toplevel\projects\*\]
I've got searching the current document for [path:xxxx]. I've got the selected filename.
What I am having trouble with is searching the filesystem for the filename. I am trying to figure out how to use DirectoryListSet to do this, but I cannot see how it can be used alone without involving the GUI. I also tried to figure it out using File.list(), but cannot figure out how to specify a filter.
Any help I've found googling around has been in Java, not Beanshell, and since I'm not expert at either I cannot figure out how to translate the Java solutions into Beanshell.
Any help?
BufferTabs: Split screen shouldn't duplicate all tabs
Submitted by
turtlecove on
Wednesday, 6 December, 2006 - 20:20
The title says it all. When using BufferTabs if you split the screen BufferTabs happily duplicates ALL of the tabs in each split screen. If I have a lot of buffers open this can waste 1/3 of my screen real estate!
Of course, the tabs should be shown ONCE across the bottom and not duplicated when the view is split.
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?
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?
plugin or macro?
Submitted by
godfailed on
Sunday, 10 December, 2006 - 18:04
http://downloads.symfony-project.com/demo/admin/admin_generator_commented.mov
I was watching this video and noticed something in textmate. I don't know if thats a macro's or some form of keyword based autocomplete. Is there something in jedit that is simular to this? or would it have to all be done through macro's?
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?
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
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?