(X)HTML page template (xhtml page.vm v1.0 by De Franciscis Dimitri)
Submitted by
megadix on
Wednesday, 4 October, 2006 - 08:42
(X)HTML page template, with prompts for title, encoding, JS and stylesheet
HTML table template (html TABLE.vm v1.0 by De Franciscis Dimitri)
Submitted by
megadix on
Wednesday, 4 October, 2006 - 08:44
HTML table template with prompts for columns, rows, headers
HTML unordered list (html_UL.vm v1.0 by De Franciscis Dimitri)
Submitted by
megadix on
Wednesday, 4 October, 2006 - 08:47
HTML unordered list with prompt for number of items
HTML ordered list template (html_OL.vm v1.0 by De Franciscis Dimitri)
Submitted by
megadix on
Wednesday, 4 October, 2006 - 08:47
HTML ordered list template with prompt for number of items
Snippet Functionality
Submitted by
kemitchell on
Friday, 6 October, 2006 - 06:54
After being much inspired by Sune Simonsen's wonderful SuperAbbrevs, i decided i would try my hand at coding my take on the "Snippets" concept which seems to have become so popular (and expensive... trendy... dangerous? ;-P ) recently in light of the public's adoration for textmate and all things supernaturally shiny.
https://webspace.utexas.edu/kem642/www/Snippets_SRC.zip
i'm posting the code here in hopes that if i completely run out of time it will at least be available for posterity, BUT MORE OPTIMISTICALLY on the chance that one of you might take a brief look at it and point out where i might be going wrong api-wise, or where i've taken the decidedly more difficult path. For one things, my use of BufferChangeListeners seems to have become deprecated. Updates... the devil take them!
i'll likely hack away as time (and school) permit. I'll keep you all posted here, assuming this is the proper place to do so... (?)
A few noets:
I am working for compatibility with the current development version (4.3pre6), and have funcitoning (read: not well tested, but it "works for me and my limited imagination" (TM) ) solution for recursive snippets (use them inside of each other!) with end tags via a stack of insertions per buffer. the framework is in place to at least parse templates with named variables (i.e. with the same value), default values, and enumerated field values, but those remain broken for the moment in terms of actual functionality. The method of selection is currently a triggered inline popup which does a running filter and auto-insertion of the last match. Defining new snippets based on input not recognized there is planned, but not currently implemented (the method is called, but it doesn't do anything yet).
currently, the snippets are stored like /%userdir%/.jedit/snippets/%mode%/%name of snippet%.snip
there is no snippet editor or viewer in place (options panel) in place quite yet, but that ought to be trivial to pull off (or at least more straightforward).
the archive includes a buildfile i use to build the jar file when i compile. if you've got ANT and a JDK you shouldn't have any problems if you want to give it a whirl.
it ain't clean, but with a little time, it will ready to go soon enough.
thanks in advance for any help, direction, etc.
dont worry... you'll get thanked again, too!
~K
nested comments
Submitted by
denserMan on
Friday, 6 October, 2006 - 18:17
I have a hard time believing this hasn't been requested but I didn't find a request when I searched.
I would love to have nested comments highlighted. In particular, ColdFusion nested comments. I fiddled with the existing highlighting but couldn't make it work and now it looks like jEdit can't do that anyway.
Thanks!
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?