Confustion about plugins installation
Submitted by
Sam Hobbs on
Monday, 10 October, 2005 - 03:44
I am new to jEdit. I apologize if this is the wrong forum.
First, let me say that installation of jEdit was easy and totally successful. I first upgraded to JDK 5 but that is no problem.
Before installing jEdit, I downloaded a few plugins at the same time that I downloaded jEdit. Later I discovered that I was not supposed to do that, correct? I am supposed to install jEdit first, then use the plugin manager to install plugins, correct? When I say "supposed to", I mean that it is the solution that is provided and is the intended method. If I am correct that it is best to first install jEdit, then there should be some comments in the jEdit plugins pages.
Also, the documentation says that a plugin can be installed either as a system plugin or a user plugin, or something like that. Yet it does explain the difference.
Okay, while typing this, I think I realize what the difference is. Perhaps the difference is obvious to those that know what the difference is, but it is not obvious to those that do not know what hte difference is. A system plugin is available to all in a system, whereas a user plugin is available to only the user. Is that it? If so, then the reason it is not obvious is because it is not clear that there is no difference among the plugins. In other words, every plugin can be either a system or a user plugin, but that is not made clear. You simply need to state (if this is correct) that a plugin can be installed either as a system or a user plugin.
What is a Plain View, and how can I make it Plainer?
When I click on View > New Plain View, I get a view that contains:
Menubar: File, Edit, Search, etc.
Toolbar: <<= =>>
Buffer Switcher [If I have it on]
Buffer Tabs
==== ruler =====
Text Area
The strange <<= and =>> in the Toolbar are not part of the configured list when I view Global Options. They don't seem to actually do anything (clicking does nothing). In fact, they look like pale gray versions of the black Back and Forward buttons in the help browser.
How can I make them, and the whole toolbar, disappear?
How can I make the buffer tabs and/or the buffer switcher disappear on "Plain Views" but not on my Main view?
Ideally, I'd like the buffer name in the window bar, a ruler, and the text area, and nothing else. Absent that, I'd accept a File/Edit menubar. But that's PLAIN. I want PLAIN. I sure don't want a half inch of empty space with two dead buttons in it.
Comment?
=Austin
sticky ALT key
Submitted by
McSwell on
Monday, 10 October, 2005 - 18:56
This is a follow-up to my posting in the "Using jEdit" forum.
I would like the capability of making the ALT key "sticky", that is, if I touch _and release_ the ALT key, then hit an (appropriate) character key, I should get the corresponding menu item.
For example,
should get me the "File" menu. As it is now, only the sequence works. This is _unlike_ all other apps I have used in MS-Windows, where it is not necessary to hold down the key while typing the letter key.
As it is now, the sequence gives you an 'f' in the current buffer (most annoying
).
I'm not saying "sticky ALT" should be the default behaviour for everyone (and certainly not the _only_ behaviour), only that it should be an option for those of us who are used to the Windows way of doing things.
It would also be _nice_ if when you press the ALT key, the accelerator keys in the menu would be underlined. Currently, they are always underlined in certain look-and-feels (like Metal), and _never_ underlined in others (like Windows and Windows Classic).
I would be happy just to get the stickyness, the underline isn't so important (although other people's mileage may vary).
Thanks for considering this!
Just justify it ! (Justify.bsh v1.0 by Baldurien)
Submitted by
Baldurien on
Tuesday, 11 October, 2005 - 15:06
This macro will allow you to justify a list of word like The Bat (an email client) does. Also, when you are in a doc block (javadoc, phpdoc or jsdoc, etc) the macros will automaticly add the '*'. When nothing is selected, the macros will take text from the line where the caret is, until an empty line (only space, or only space with '*', or '*/' for docblock). Else it will take the text between the start line and end line of the selection. Note : you may have to customise (edit) the macro to get better result.
A quick example [the comment is normally on one line, but it would broke up html presentation]
/**
If the selection is set, then we will use it to determine \
the selected text. Else we will use the {@link Textarea.ge\
tCaretLine()} method.
*/
Transformate into :
/**
* If the selection is set, then we will use it to determine the
* selected text. Else we will use the {@link
* Textarea.getCaretLine()} method.
*/
My_Theme.bsh (mytheme.bsh v1.0 by Delvin Johnson)
Submitted by
delvinj on
Tuesday, 11 October, 2005 - 22:24
This example shows how to create a custom MetalTheme for jedit. Save in .jedit/startup.
Color per mode, not global color and adding new color type
Submitted by
Baldurien on
Wednesday, 12 October, 2005 - 13:32
Hi,
I'm working with a four-mixing language (xhtml+css+javascript+php and certain time a five one). and usually I use keyword1 for language structure (so, for js & php, it would be if, elseif, else, etc) but when it come to CSS, i would like to use different colors :
For CSS1 properties (ex: display), i would like this to be keyword1, for CSS2.1 (ex; z-index) i would like this to be keyword2, etc for values. The fact is when i'm in multi mode, or even in CSS mode, the keyword1 is dedicated to language structure.
The feature missing here in jEdit is a color setting per mode. For example, when I'm in CSS mode, I'd like to have CSS mode colors, when I'm in Java mode, I'd like to have Java mode colors, etc.
So as a feature, it could be good to have the abilities to have color set per languages.
Also, other thing I noted is that we don't what represent KEYWORD1, etc. For my CSS, I would like to replace the "KEYWORD1" label (in the Global Options > Syntax highlight) by "CSS 1.0 Properties").
It could be added in the xml with a tag :
COLORSHEME
COLOR NAME="xxx" TITLE="CSS 1.0 Properties" DEFAULT="KEYWORD1" /
/COLORSHEME
In this case, NAME is the name of the color : it could be used in TYPE to add our colour (ex: for a multi mode like php, I may have PHP_INSTRUCTION, PHP_VARIABLE, etc), TITLE is the title of the colour, to describe what it does, and finally DEFAULT would be the default value for the color (if not set in the theme)
CodeAid parsing Java code which uses 5.0 generics
Submitted by
TTAnimal on
Wednesday, 12 October, 2005 - 16:50
When I use JDK 5.0 generics syntax in the JEdit editor pane, CodeAid cannot parse the buffer, and so I get no autocomplete popups.
Is this going to be fixed soon?
Using the send buffer plugin
Submitted by
smoothdave on
Thursday, 13 October, 2005 - 02:14
I could use some help with the send buffer plugin. Whenever I try to use it, it tells me I have an invalid from address. I'm not sure what the problem could be. I just put a straightforward email address in there.
I would appreciate any help at all.
Dave
Need macro/plugin to trim trailing spaces on save
Is there any way to let jEdit trim trailing spaces on save?
Code Browser plugin, function prototypes and function definitions
Submitted by
inad on
Thursday, 13 October, 2005 - 15:21
Hi there,
When using the Code Browser plugin with C files I find the following annoying quirk. When a file contains both a function prototype and a function definition for the same function, clicking on the function name in Code Browser will sometimes bring you to the prototype instead of the definition. I noticed the determining factor seems to be whether the prototype spans across several lines or not. If it fits into a single line, Code Browser will bring you to the defintion, otherwise it will point you to the prototype.
Typically I am interested in the function definition (for the prototype I can use Code Browser's tool tip for example).
I had a look at the man page for ctags to see if one could force it not to generate tags for prototypes but I couldn't see a way to do it.
Has anybody come across this issue and has a solution for it ?
Thanks
Save all current open file list
Submitted by
ccapeng on
Thursday, 13 October, 2005 - 20:23
I am working on multiple files, but I want to move to other files and come back later on. Can I save current open file list?
FTP with Project Manager (first time poster)
Submitted by
Nicodemas on
Thursday, 13 October, 2005 - 22:33
Hello! I am very new to jEdit, but I have to say - I'm a believer. I've spent a lot of time writing apps for the web, and I have never found any one editor that meets all my needs. But so far, jEdit is the leader. It has some really nice features.
Something I would like to see, however, is an integration between a Project Manager (like the plugin available) and an FTP client who's settings are stored with the project's (host, username, password, use base local directory, etc...)
>> the ability to select multiple files from the Project Viewer and upload them, or download them from remote server
>> Use Base Local Directory - if the local file is on a subdirectory of the base local directory, it will be uploaded to the corresponding subdirectory of the remote server
I don't know how many times I've uploaded something using an FTP client into the wrong sub directory...
Is there already a plug in for this? I might sound quite demanding, and in truth, my hat goes off to any developer who builds these very useful plugins. My talents are in web applications, only. I have no idea how to create plugins. Without dedicated folk like you, I'd probably still be using notepad and CuteFTP.
PHPParser 1.2.0 glitch (interfaces?)
Got the following. I think the first section of [error] reportage may be irrelevant, but the second section reflects a glitch that hit as I was creating an interface.
I had
interface Name {
}
and was filling in function signatures when it hit. Aout the tenth or eleventh function, it highlighted "public" as wrong and reported an internal error when I hovered the mouse to read what was wrong.
Activity log entries that might be useful in a bug report:
Log file created on Fri Oct 14 05:46:41 EDT 2005
IMPORTANT:
Because updating this file after every log message would kill
performance, it will be *incomplete* unless you invoke the
Utilities->Troubleshooting->Update Activity Log on Disk command!
[message] Log: When reporting bugs, please include the following information:
[message] Log: java.version=1.5.0_02
[message] Log: java.vm.version=1.5.0_02-b09
[message] Log: java.runtime.version=1.5.0_02-b09
[notice] jEdit: jEdit version 4.2final
[message] jEdit: Settings directory is C:\Documents and Settings\Austin Hastings\.jedit
[message] jEdit: jEdit home directory is C:\Program Files\jEdit
[notice] jEdit: Loading plugins from C:\Program Files\jEdit\jars
[notice] jEdit: Loading plugins from C:\Documents and Settings\Austin Hastings\.jedit\jars
[message] jEdit: Loading mode catalog file C:\Program Files\jEdit\modes\catalog
[message] jEdit: Loading mode catalog file C:\Documents and Settings\Austin Hastings\.jedit\modes\catalog
[message] jEdit: Startup complete
[error] WorkThread: Exception in work thread:
[error] WorkThread: java.lang.ArrayIndexOutOfBoundsException: Array index out of range: -1
[error] WorkThread: at org.gjt.sp.jedit.Buffer.getLineStartOffset(Buffer.java:907)
[error] WorkThread: at gatchan.phpparser.sidekick.PHPSideKickParser.buildNode(Unknown Source)
[error] WorkThread: at gatchan.phpparser.sidekick.PHPSideKickParser.buildChildNodes(Unknown Source)
[error] WorkThread: at gatchan.phpparser.sidekick.PHPSideKickParser.buildNode(Unknown Source)
[error] WorkThread: at gatchan.phpparser.sidekick.PHPSideKickParser.buildChildNodes(Unknown Source)
[error] WorkThread: at gatchan.phpparser.sidekick.PHPSideKickParser.parse(Unknown Source)
[error] WorkThread: at sidekick.SideKick$ParseRequest.run(SideKick.java:406)
[error] WorkThread: at org.gjt.sp.util.WorkThread.doRequest(WorkThread.java:194)
[error] WorkThread: at org.gjt.sp.util.WorkThread.doRequests(WorkThread.java:161)
[error] WorkThread: at org.gjt.sp.util.WorkThread.run(WorkThread.java:135)
[debug] WorkThread: Running in work thread: [id=811,run=sidekick.SideKick$ParseRequest@1f97846]
[error] PHPSideKickParser: gatchan.phpparser.parser.ParseException: Encountered "}" at line 58, column 1.
[error] PHPSideKickParser: Was expecting:
[error] PHPSideKickParser: "function" ...
[error] PHPSideKickParser:
[error] PHPSideKickParser: at gatchan.phpparser.parser.PHPParser.generateParseException(Unknown Source)
[error] PHPSideKickParser: at gatchan.phpparser.parser.PHPParser.jj_consume_token(Unknown Source)
[error] PHPSideKickParser: at gatchan.phpparser.parser.PHPParser.interfaceMethodDeclaration(Unknown Source)
[error] PHPSideKickParser: at gatchan.phpparser.parser.PHPParser.interfaceDeclaration(Unknown Source)
[error] PHPSideKickParser: at gatchan.phpparser.parser.PHPParser.BlockStatement(Unknown Source)
[error] PHPSideKickParser: at gatchan.phpparser.parser.PHPParser.Php(Unknown Source)
[error] PHPSideKickParser: at gatchan.phpparser.parser.PHPParser.PhpBlock(Unknown Source)
[error] PHPSideKickParser: at gatchan.phpparser.parser.PHPParser.phpFile(Unknown Source)
[error] PHPSideKickParser: at gatchan.phpparser.parser.PHPParser.parse(Unknown Source)
[error] PHPSideKickParser: at gatchan.phpparser.parser.PHPParser.parse(Unknown Source)
[error] PHPSideKickParser: at gatchan.phpparser.parser.PHPParser.parse(Unknown Source)
[error] PHPSideKickParser: at gatchan.phpparser.sidekick.PHPSideKickParser.parse(Unknown Source)
[error] PHPSideKickParser: at sidekick.SideKick$ParseRequest.run(SideKick.java:406)
[error] PHPSideKickParser: at org.gjt.sp.util.WorkThread.doRequest(WorkThread.java:194)
[error] PHPSideKickParser: at org.gjt.sp.util.WorkThread.doRequests(WorkThread.java:161)
[error] PHPSideKickParser: at org.gjt.sp.util.WorkThread.run(WorkThread.java:135)
[debug] SideKick$ParseAWTRequest: ParseAWTRequest
[debug] EditBus: ErrorSourceUpdate[source=null,what=ERROR_SOURCE_REMOVED,errorSource=errorlist.DefaultErrorSource[SideKick],error=null]
[debug] EditBus: ErrorSourceUpdate[source=null,what=ERROR_SOURCE_ADDED,errorSource=errorlist.DefaultErrorSource[SideKick],error=null]
[debug] SideKickParsedData: Setting parsed data of org.gjt.sp.jedit.View[active] to null
[debug] EditBus: SideKickUpdate[source=null]
[debug] WorkThread: Running in work thread: [id=813,run=org.gjt.sp.jedit.buffer.BufferIORequest[type=AUTOSAVE,buffer=IRecordHierarchy.php (C:\www\localhost\php_trees\)]]
Code Browser and Python sources
Hi everybody.
I am a big fan of jEdit and cant find any more complete editor for Python.
But I am using Code Browser/ctags and it is working BUT unfortunatelly the METHODS are not coming nested under their respective classes. This is indeed provided by ctags when I run it on console as codebrowser does as you can see below:
...canvas.py /^ def __init__(self, parent, id = -1):$/;" kind:member class:ColumnCanvas
Is there any way to workaround it? Change some conf file or xml in the jar?
It seems a pretty easy code to write how can we help do it? I am willing to do it if it is the case...
Thanks
jEdit Mel Sender v0.1 Bug?
Submitted by
frogspasm on
Friday, 14 October, 2005 - 22:38
nazz78
Thanks so much for this plugin/macro. I've been using it a lot in the last few months.
I just found something that causes an error in Maya when using jEdit, but works just fine when I copy the line to Maya's script editor end execute it:
vector $newP = ($pSphrand + $endP + <<0,1,0>>);
It seems to choke on the last part: <<0,1,0>>;
When I remove that it works in jEdit just fine.
Thanks,
~Mike D.
Mac OX Plugin
Submitted by
jbmoore on
Saturday, 15 October, 2005 - 21:53
Greetings..
Just installed a JEdit on a fresh Mac OSX (Panther) and it came with the Mac OSX plugin.. I then did an install of nearly all of the plugins..
The Mac Plugin now fails so I removed it from the "installed" (it was red). I would like to reinstall it but I don't see it on the "Installs" list..
Suggestions..?
John..
Problem Installing jEdit from .jar file
Submitted by
matazar42 on
Sunday, 16 October, 2005 - 20:22
Ok, I've never installed anything from a .jar before so I probably forgot something stupid. I'm using RedHat 9 linux. I downloaded the .jar and ran it with this output:
[root@localhost zips]# java -jar ./jedit42install.jar
Warning: -jar not understood. Ignoring.
Exception in thread "main" java.lang.NoClassDefFoundError: ..jedit42install.jar
at 0x40268e17: java.lang.Throwable.Throwable(java.lang.String) (/usr/lib/./libgcj.so.3)
at 0x4025bc8e: java.lang.Error.Error(java.lang.String) (/usr/lib/./libgcj.so.3)
at 0x4025d6b6: java.lang.LinkageError.LinkageError(java.lang.String) (/usr/lib/./libgcj.so.3)
at 0x4025eb36: java.lang.NoClassDefFoundError.NoClassDefFoundError(java.lang.String) (/usr/lib/./libgcj.so.3)
at 0x402ad075: gnu.gcj.runtime.FirstThread.run() (/usr/lib/./libgcj.so.3)
at 0x4024fc4c: _Jv_ThreadRun(java.lang.Thread) (/usr/lib/./libgcj.so.3)
at 0x4021c8ac: _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/./libgcj.so.3)
at 0x08048910: ?? (??:0)
at 0x42015704: __libc_start_main (/lib/tls/libc.so.6)
at 0x080486c1: ?? (??:0)
Any help is appreciated.
-Matthew
Mac OS style menubar not working
Submitted by
noah on
Monday, 17 October, 2005 - 21:26
Since I upgraded from Panther to Tiger, the option to "Enable Mac OS style menubar" (in the Plugin Options for the Mac OS Plugin) no longer works. Regardless of whether or not this option is selected, the jEdit menu appears at the top of the jEdit window, not in the OS X menubar at the top of the page.
Is there a setting I can edit manually that will fix this? Any other ideas?
Thanks,
Noah
display help
Hi All,
I'm new to JEdit, and one thing i don't like is the vertical line whicn is in the center of the screen..(is it a divider). Is there a way to get rid off that line?
Thanks
AntHelper Plugin
Submitted by
khng on
Tuesday, 18 October, 2005 - 04:37
Currently I need to download that plugin
but the jedit always said that IO error
Does that plugin really exist on the server?