XML Matching Tag Hilight not working again (pre7 and xml2.0.4)
Submitted by
michaelyap on
Saturday, 7 October, 2006 - 13:33
the XML plugin Matching Tag Hilight is not working again with html files. (jEdit pre 7 and xml v2.0.4)
it was working in pre6. i think this has been going on for the last several versions (of jEdit-pre and xml version). there's some kind of pattern here...
work. don't work. work. don't work.
i'm just reporting bugs. i can wait till november.
m
jEdit Snippets for Ruby on Rails
Submitted by
charlesroper on
Saturday, 7 October, 2006 - 18:32
I am trying to get hold of the jEdit Snippets for Ruby on Rails as seen here:
http://synthesis.sbecker.net/articles/2006/03/20/jedit-snippets-for-ruby-on-rails
But unfortunately the link appears to be down. Does anyone else have a copy of these snippets they could send to me or upload somewhere?
Many thanks,
Charles
Mac OS X
Submitted by
TedErnst on
Monday, 9 October, 2006 - 15:59
The FAQ talks about OS 8 and OS 9, but not OS X.
I have downloaded jEdit and it's "drive" appears on my desktop. What do I do with it? Other applications have something to drag to the applications folder and that's it. What do I do with this folder inside the drive?
Thanks!
Desperatly missing JCompile / Can't get JCompiler running
Submitted by
JNewb on
Monday, 9 October, 2006 - 19:44
Hello out there !
After a severe crash i had to put up an new system, and thought that i give 4.3 pre6 a try.
Looking good, goin' good - so far.
What i am missing is the JCompile-Plugin. Nowhere to be found an the Plugin-Managers "Install" Tab.
Has it just evaporated, replaced, obsoleted or am i just beeing blind ?
I quite miss it a lot - Newb that i am, i rely very much on the "Console"-Plugin and got so used to have the "JCompiler" in the pull-down-Menue; i usually work with two floating instances of "Console" - one for "System" the other, well "JCompile".
What happened ?
By the way - meanwhile i changed back to 4.2 (cause i had work to get finished) and find myself unable to get the "Jcompile" running properly.
The message is always the same :
.
java.lang.NoSuchMethodError: console.Console.setShell(Lconsole/Shell;)V
.
.
The message is quite a few lines i don't want to litter this forum with; if the complete message is needed i will put this in here later on.
When using the "compile" command within console, it goes on and on and on and on....nothing ! Not even an error-message.
As far as i see, there seems to be something wrong with the Console-Plugin (according to the message). Console seems to be unable to find the recent buffer-path automatically..hrmfp. Why ? No clue so far. When invoking "javac" by hand the path of the recent buffer is suggested within the "commando"-Box.
I tried to uninstall and reinstall the needed plugins - so far with no use.
I hope anyone stumbled across a similar (or the same) problem and was more sophisticated than me and solved it :/
Thx in advance,
JNewb
autotagging -> enclosure highlighted text with tags
Submitted by
puntarenas on
Monday, 9 October, 2006 - 23:47
Hi,
I'm sure this came up a hundred times before and no doubt mighty Jedit is able to do it easily, so I'm sorry but I couldn't find an answer.
I want to put tags around highlighted text using a keyboard shortcut. I tried Macros -> Text -> Insert tag, but using this macro I always have to type the tag name.
Kind regards
Martin
SideKick and edit modes
Submitted by
shlomy on
Tuesday, 10 October, 2006 - 07:07
My plugin, CtagsSideKick, registers itself as a SideKick parser (named 'ctags') for edit modes c, c++ and java using the lines below. If I open the "Parsers" page in the SideKick plugin options, I indeed see my plugin being used as the parser for these modes, and if I open files with extensions ".c", ".cpp" and ".java", I see that SideKick uses my plugin to generate the tree. However, when I open files with ".h" extension, no parser is selected, and the tree doesn't appear. I need to manually select 'ctags' in order to see the tree. Using the menu "Utilities -> Global Options -> Editing", I see that ".h" files are associated with the c++ mode. Yet my plugin is not used for ".h" files by default. Am I missing something, or is this a SideKick bug?
Following are the lines I use to register my plugin with SideKick:
sidekick.parser.ctags.label=ctags
mode.c.sidekick.parser=ctags
mode.c++.sidekick.parser=ctags
mode.java.sidekick.parser=ctags
Activate JEdit window when loading file
Submitted by
agoston on
Tuesday, 10 October, 2006 - 15:15
Hi!
When I start jedit with this command:
java -jar jedit.jar -reuseview filename.txt
(I'm using '-reuseview' to avoid that strange default behavior that a new jedit window opens with all the files opened so far plus the new one but the window previously used stays open, too.)
This way it is loaded in the existing jedit instance and no new window opens (very good), but the jedit window itself doesn't get activated. Which drives me mad, because I always have to select it with the mouse or alt-tab for half a minute until I find it. Is there any way to have that jedit window activated? What I've been thinking of is e.g. running jedit like this:
java -jar jedit.jar -run=On_Open_File.bsh -reuseview filename.txt
where On_Open_File.bsh would activate the window. I'm a complete beginner at BeanShell, so no idea about how to do that.
I'm using KDE on Linux, so a Linux-specific solution (activating the window from the command line or whatever) would do as well.
Thank you very much!
Agoston
P.S.: This select box ("Forum:") on my browser behaves a bit strangely, I wanted to select the "-Using jEdit" option, I hope I managed to.
Using two mode files for a single file type, e.g., MySQL
Submitted by
a992400 on
Tuesday, 10 October, 2006 - 15:25
Keyword highlighting is controlled by mode files specified in the file "catalog". For example:
The MySQL keywords are specified in the mode file mysql.xml, and the standard SQL keywords are in tsql.xml. So when editing a MySQL file (*.sql), I want to have the MySQL and SQL keywords highlighted:
But only the second one listed takes the fact,as if it overrides the previous one. How do I get both sets of keywords to be highlighted (short of manually jamming the two files into one, which surely can't be the best solution)?
How to autoreplace input?
Submitted by
uhuebner on
Wednesday, 11 October, 2006 - 13:29
Hi there,
I want jEdit to autoreplace my inputs depending on the Buffer Mode I'm in.
Example: When in PL/SQL-mode I want jEdit automatically replace the text 'ndf' with 'NO_DATA_FOUND' the very moment I type it. How do I do that?
Thanks
uhuebner
Enhanced PL/SQL Mode (pl-sql.xml v(taken fro by Uwe Pliha)
Submitted by
uhuebner on
Wednesday, 11 October, 2006 - 14:38
- added all DBMS-Packages as keyword3
- added all predefined exceptions as keyword4
Plug-In BufferTabs: Copy File Name/Path embedded with quotes when containing space character
Submitted by
uhuebner on
Wednesday, 11 October, 2006 - 14:56
Hi there,
I would like to see the option (checkbox in plug-in options) for the plug-in BufferTabs to embed the file name/path with quotes when there is a space character in it.
Just to let you know
Regards
uhuebner
Upload graphic?
Submitted by
Chad_L on
Thursday, 12 October, 2006 - 15:18
Hi. I need to upload a graphic into the graphics folder in my web directory... It's a simple GIF graphic.
Can't seem to figure out how with J-edit? can it be done?
-Chad
CodeAid and Jane: how to start? Newbie questions.
Submitted by
stanberka on
Friday, 13 October, 2006 - 15:51
Hi,
I'm using jEdit for 3 or 4 year by now. And usually don't mind at all to lookup the javadoc or the source when I need to know the method name or signature. But yesterday, I decided to give it a try and installed CodeAid/Jane. The only thing that worked out of the box was variable name completion, which I already had and love via a short cut to Complete Word command (great feature! thanks!). After I studied help of both plugins, I wasn't any more enlightened. Would you help? Here are the questions I tried to invent for you, but if you use Jane/CodeAid, please let me know in 3-4 sentences what I have to do for a new project to configure it for CodeAid/Jane. Questions:
* In order to see member and suignature hints for Java API, do I need to tell Jane where this library is located?
* Once I add a library to Jane's list of libraries, does it parse them immediately, or do I have to do some special magic?
* What about project support? Do I have to add/remove from Jane's list of libraries every time I switch to a different project? Any integraton with Project Viewer?
* Is the DotComplete plugin still available? I don't see it from the plugin manager. Would it be helpful/useful with CodeAid/Jane?
I'll appreciate help, but can offer to extend the doco for these plugins with the info you share with me.
Stan Berka
CodeLint and C/C++ error highlighting
Submitted by
neurophyre on
Friday, 13 October, 2006 - 22:43
Two questions.
1. Does CodeLint actually do anything? I installed it, built antic and jlint and set the paths, and it still does nothing at all when I do Plugins -> Codelint -> Lint Source.
2. Is there a plugin that does C/C++ syntax ERROR highlighting?
3. I lied, three questions. Is there a subversion plugin in any state of active development?
Plugins for C/C++ development
Submitted by
shlomy on
Sunday, 15 October, 2006 - 13:49
I intend to add a few features to jEdit for C/C++ developers, such as a class hierarchy browser and a static function call tree. These features will be based on ctags and either cscope or GNU global.
I'd like to discuss here the plugin distribution methodology. We already have several plugins using ctags - Jump!, Tags, CodeBrowser, CtagsSideKick. Each of them parses the ctags output on its own and handles the storage of the data by itself. I think it's better to have a common library plugin to handle the interface with ctags - both invocation, parsing and storage. There are several advantages to this other than avoiding duplication of code:
- The data can be shared (when appropriate) between plugins that use ctags, so there is no need to run ctags a couple of times on the same file with the same flags.
- The configuration of ctags (e.g. per-mode configuration) can be done in a single place, the plugins that use it (usually) don't even need to be aware of it.
- It will also be easier to write new plugins using ctags.
While a library plugin for ctags seems reasonable, there's the other problem of what I call "plugin explotion": The list of installed plugins becomes long, with all consequences (including the one that's most annoying for me - the jEdit Plugins menu gets split, e.g A-G,H-Z...).
Do you think all ctags-related plugins should be combined into one? What about new features like those I mentioned above - should they be put into new plugins or inserted into existing plugins?
A good example can be taken from eclipse - which is normally installed with hundreds of plugins. Unlike jEdit, eclipse does not have a 'Plugins' menu. Rather, each plugin inserts itself in the desired places (e.g. toolbar, menu item, options). In contrast with jEdit, eclipse consists almost entirely of plugins. A pure eclipse with no plugins can't do much (if anything at all).
Please let me know what you think. Thanks!
What's jEdit Server and what does it do?
Submitted by
maddog39 on
Sunday, 15 October, 2006 - 15:08
The title says it all. What is jEdit Server and what does it do?
Default edit mode for specific file extensions
Submitted by
shlomy on
Sunday, 15 October, 2006 - 22:23
Today, edit modes declare the file extensions they handle. The same file extension may be specified for several edit modes, and it's okay. For example, '.h' files can be both C, C++, or Objective-C files. So far, this is natural and good.
When the user opens a buffer, jEdit selects the first edit mode that can handle the extension of the buffer and uses it. Sometimes, this is not the mode that the user wanted to use. For example, I opened a file "a.h", and it was opened in Objective-C mode, but I never program in Objective-C, only C++. So I have two options:
1. Use the "buffer options" to change the mode for the current file ("a.h"). This means that if I then open "b.h", it will again open in Objective-C mode and I will have to change it as well.
2. Use the "global options" to remove the association between Objective-C and ".h" files (and I might need to do this for other modes handling ".h" files as well except C++). This means that all ".h" files that I open from now on will be opened in C++ mode, but: a) I had to do some work (remove the associations from all other modes), and b) if at some point I'm going to use Objective-C, I will need to add the association again.
I suggest to add the following feature to jEdit: A "default modes" list, where the user can specify for specific extensions which modes he'd like to use. If an extension is not on the "default modes" list, jEdit will choose the mode just as it does now. However, if the extension is on the list, it will use the mode specified in the list. So if I see that my ".h" file was opened in Objective-C, I will simply add an association from ".h" to "C++" to that list, and all future buffers of ".h" files will use C++ mode.
Furthermode, I suggest a user-friendly GUI to support this list: In the status bar, the text string specifying the current edit mode will be replaced by a combo box. If the mode used for the buffer is not the desired one, the user will be able to select the desired one from the combo box and the mode selected will be set automatically as the default mode for this extension (i.e. automatically add to the "default modes" list or automatically update it).
Feedback will be most welcome...
Advice on setting up JEdit similar to IntelliJ IDEA
Submitted by
Keeler on
Sunday, 15 October, 2006 - 22:49
Hi All,
I did some searching around these forums and found only little bits and pieces of what I'm looking for, but nothing seemed all that conclusive to what I'm after so I figured I'd post a topic. If this has been answered elsewhere, I apologize for the repeat post and would hope you could point me in the right direction.
I currently work with Intellij IDEA (http://www.jetbrains.com/idea/) on a regular day-to-day basis. However I am interested in also writing Java on OSX platform and IntelliJ has the uncanny ability to suck up a LOT of memory, (and is of course, rather on the high dollar end).
Considering there are dozens and dozens of plug-ins out there, I find it very difficult to find features that suit my needs directly. Many have descriptions that seem like they might do what I want and then after installing them I find that they lack one thing or another and I'm forced to go fishing for an alternative.
I really like how IntelliJ has code completion, code highlighting, an expandable directory tree for the project I'm working in, and the ability to set up ant build and tomcat such that I can compile with the click of a button.
Does anyone use any of the aformentioned features who may be able to point me in the right direction?
Thanks in advance.
-keeler
XML plugin causing java process to go to 95%+ cpu
Submitted by
elsigh on
Monday, 16 October, 2006 - 04:36
Hey folks, I've isolated this issue to the XML plugin. I love the XML plugin, but when I have it on, after some amount of time, say 10 min., I notice my processor is chugging and I look at top - and there's java, at the top of the list, consuming like 95%+ cpu. I'm running Sun JDK 1.5 on linux.
PS - Did I mention I love jEdit?
HTML Strong tags (HTML_Strong.bsh v1.0 by grasshopper)
Submitted by
grasshopper on
Monday, 16 October, 2006 - 10:59
A simple macro to enclose a string in strong tags.