jEdit Community - Resources for users of the jEdit Text Editor
SQL Plugin: Specify password at connect time?
Submitted by Cornell on Monday, 5 December, 2005 - 20:41
I've installed jEdit 4.2final on a WinXP. I've used the Plugin manager to install ProjectViewer and SQL (among others).

I note that in a project's properties, I can define servers including Password and Username. (I'm using a DB2 database, ODBC appears to be the only available SQL server type).

I can't seem to find a mechanism to enter the password only when connection is attempted. I don't wish to leave my password, or username for that matter, in the definition of the server. I'd like a situation such that when I try to make a connection, I am asked for the password, or username/password.

Can I do this? And, if so, how?

TIA
Console ProjectViewer working directory at startup
Submitted by skytomorrownow on Monday, 5 December, 2005 - 00:23
I've done a search through the forms and Google, and couldn't find the answer to this question: Is there a way to get console to cd (change directory) to the current default project directory for ProjectViewer. It's the last little touch I need to have my happy little Java IDE.

Any help would be appreciated.

JEdit + Console + ProjectViewer + Ant Farm = Smiling
Emacs Shortcuts and Mac Menus?
Submitted by Jason Cone on Sunday, 4 December, 2005 - 03:30
I'm trying jEdit out -- I typically use emacs as my text editor.

I can't find any emacs key bindings, and when I try to manually change the shortcuts in the global options, the dialog will not accept a keystroke containing ctrl or opt (alt); it will only accept the cmd key as a meta key. Is there any way to get ctrl-based shortcuts on Mac OS X? Is there an easy way to configure jEdit for emacs key bindings (e.g. Ctrl-E to move to the end of the line, etc)?

Also, I tried using the included Mac OS X Setting plugin to use a Mac-style menubar at the top of the screen, but it is still in the jEdit window. I've checked/unchecked the checkbox and restarted jEdit multiple times, but I still have a menubar in the application window. Am I missing something?
Commando Question
Submitted by cpsmusic on Thursday, 1 December, 2005 - 11:07
Hi, I'd like to write a commando file for calling a C compiler. I've had a look at some of the available commando files. I understand the XML parts however I'm not clear about the COMMAND section, for example: buf = new StringBuffer("cd "); buf.append(MiscUtilities.getParentOfPath(buffer.getPath())); buf.toString(); buf = new StringBuffer(gcc); if(wall) buf.append(" -Wall"); if(!link) buf.append(" -c"); if(!addopts.equals("")) { buf.append(" "); buf.append(addopts); } buf.append(" "); buf.append(source); buf.toString(); Is this BeanShell? Cheers, Chris
Using Console Plugin Question
Submitted by cpsmusic on Tuesday, 29 November, 2005 - 17:28
Hi,

I'm new to jEdit.

I'd like to use it for cross-platform C development.

I'm particularly interested in how to compile, link and execute code from jEdit. I've installed the Console plugin and managed to get it to compile some C code (I'm currently working on Windows).

The plugin has a command to "Compile Current Buffer/Run Current Buffer" however when I try to execute these commands I get the following error message:

"There is no compiler associated with this buffer. You can specify compilers on a mode-specific basis in the Utilities->Global Options dialog box"

I've had a look in this dialog box however I can't see where to set this--can someone please explain how to do this.

Cheers,

Chris
coping marked word to search-next
Submitted by liran vigdor on Tuesday, 22 November, 2005 - 09:58
how do I mark a word and then just automatically fills it into the Find-next option ?
( used crimson editor before, and u just mark a word,and click search-next - it automatically search for the next marked word)
Autocompletion?
Submitted by sillydragon on Monday, 21 November, 2005 - 17:20
I've noticed when I edit XML or HTML files, if I enter part of a tag a scrollbox will pop up offering me possibilities for completing the tag... Where does it get the information for that? I'm making an edit mode for another language and I'd like to add autocompletion of function names, but can't seem to figure out where to configure that. I thought it was Accelerators, but my template folder is empty. Thanks in advance for any help. Smiling
Jedit Single Instance
Submitted by rem on Sunday, 20 November, 2005 - 23:24
Hi everybody,

Just got to use Jedit and already think it's a great tool... However, I was wondering, is there a way to keep only one instance of Jedit open? If I choose to open a file assigned to Jedit from other location than File / Open I would like to have it within the same instance on another tab.

Thanks a million.
How to recover original abbrevs file?
Submitted by davmay on Sunday, 13 November, 2005 - 19:14
I am running jEdit 4.2 on Windows XP. I have made changes to the abbrevs file and now I would like to recover a copy of the default abbrevs file as it came with the original jEdit source files. I'm not familiar with the syntax for working with Java files -- can someone provide me with a command-line for extracting the original abbrevs file from the source files, or show me some other way of doing this? Thanks.
How to shortcut temporary splits/unsplits?
Submitted by davmay on Thursday, 10 November, 2005 - 17:26
When the user splits a view, little wedges pointing up, down, left or right are displayed at the upper left-hand corner of the panes. These are very handy in expanding the current pane and then restoring it to its previous configuration. I would like to create keyboard shortcuts for these useful functions, but I haven't been able to identify the commands by looking in the shortcuts list or in the API list. Can anyone tell me what these commands are called, and if they can be activated by a user shortcut?
How to shortcut temporary splits/unsplits?
Submitted by davmay on Thursday, 10 November, 2005 - 17:25
When the user splits a view, little wedges pointing up, down, left or right are displayed at the upper left-hand corner of the panes. These are very handy in expanding the current pane and then restoring it to its previous configuration. I would like to create keyboard shortcuts for these useful functions, but I haven't been able to identify the commands by looking in the shortcuts list or in the API list. Can anyone tell me what these commands are called, and if they can be activated by a user shortcut?
Scheme indenting
Submitted by dhracer on Thursday, 10 November, 2005 - 11:43
Hi there,

I've been using jedit for a short while now for various languages and on the whole I am very pleased but there is one thing that bugs the hell out of me. If I am writing scheme then it indents the closing bracket for me, but I don't want this. Is there any way to change it?

Example (the # characters represent spaces, current operation is first - desired is second):

(if (= i 10)
##(begin
####(do something)
####)
##)

what I want is:

(if (= i 10)
##(begin
####(do something)
##)
)

Thanks in advance!
Inserting Unicode chars
Submitted by McSwell on Monday, 7 November, 2005 - 15:52
How do I insert a Unicode character, if I know the hex code for it?

For example, U+00E7 (= c cedilla), or U+0BB1 (in the Tamil range).

Things I have tried:

(1) Entering the Unicode codes (e.g. \U+00E7) into the replace field of the find-and-replace dlg. (IMHO, this is the way it *ought* to work; it's what you do in Visual Slickedit, for example.) But instead, this just gives me the string "\U+00E7" in my buffer.

(2) Copying and pasting from the Unicode consortium charts. But the charts are in PDF, and don't seem to support cut-and-paste. (I'm aware of Unibook, a wonderful tool, but for the moment I can't use that, for reasons I won't go into...)

(3) Modifying the code at http://community.jedit.org/?q=node/view/2115. Specifically, I tried doing a find/replace where the replace string is

(char)Integer.parseInt(0xe7,16)

(and variants thereof); but I get an error msg

Static method parseInt( int, int ) not found in
class'java.lang.Integer

Not being a Java programmer, I'm not sure what to do with this error msg. I suppose I need to install some Java code or other, but I'd really rather not do that (not to mention that this is a *really* clumsy way to do find-and-replace).

(4) Macros | Misc | HexConvert, entering the string
0xE7
(and variants...). But I get the error msg
0xE7 is not a valid hex string.
(If that isn't valid, what is?!!)

(5) The CharacterMap plugin. When I choose the 8859-1 encoding in this plugin's dlg box, I can paste in the c-cedilla (which fortunately happens to be the same hex code as the Unicode c-cedilla). But when I choose UTF-8 encoding, it only gives me the Basic Latin box, and trying to paste in s.t. from the high end of that gives me U+FFFD. And of course Tamil characters (etc.) are not in the Basic Latin part of Unicode.

So how do I enter arbitrary Unicode characters in jEdit? Please note that I'm not trying to set up a keyboard for this, I just have to enter a single character from time to time (or do find-and-replace, where either the 'find' or the 'replace' field contains a Unicode char).
Printing folded text
Submitted by jcaponi on Friday, 4 November, 2005 - 18:09
Is there a way to print just what's displayed on screen when working with folded text?, rather than the complete document?
DAV plugin, can't get webdavs:// to work
Submitted by dj_segfault on Wednesday, 2 November, 2005 - 18:34
I'm trying to open a document over webdavs (webdav over SSL). I tried https:// and webdavs://

Is this known to work or not work?

Thanks.
Converting from Textpad
Submitted by David Hammond on Wednesday, 2 November, 2005 - 17:41
I was a long time user of Textpad until I recently deserted to jEdit (See http://www.textpad.info/forum/viewtopic.php?t=6371 for more information). After a couple months I can report happily that even if Textpad comes out with a fabled version 5 with a bunch of cool new features, I doubt if it will come close to jEdit for me. So if there are any other Textpad refugees out there, I wanted to offer some quick hints for getting started with jEdit.

First of all, I should add a caveat: as a Notepad replacement, Textpad is still better than jEdit, because it opens really fast. As a develpment tool, though, jEdit is well worth the short delay. I should also explain that I use jEdit to develop ColdFusion, ASP.Net, VB.Net and Javascript and have yet to do any Java development with it. Another note: after leaving Textpad I also tried out Eclipse (which has a great ColdFusion plugin) for a while, but couldn't give up the powerful text editing features that Textpad and jEdit have.

Textpad Document Selector:
The Buffer List plugin is an improvement because it groups the files by directory.

Textpad workspaces:
Session plugin offers almost exactly the same functionality, as well as a handy toolbar that integrates with the Buffer List plugin.

Textpad tools:
The Console plugin offers a much more powerful interface for integrating external tools. Read the excellent documentation.

Textpad clip libraries:
I never used this feature much, but the Clipper plugin does the same thing.

Textpad block select mode:
Click and drag while holding down the ctrl key.

Textpad keyboard shortcuts:
Whatever it is, including all plugin commands, you can set up a shortcut for it in jEdit. See Global Options/Shortcuts.

Other plugins that I have quickly found indispensible are:
- Code Browser, for showing a function list using CTags. There is a textpad add-on that creates a popup window that shows a function list with ctags, but it never did the job for me.
- XML and Sidekick, for editing html and xml.

Of course, I'm just scratching the surface!

- David
Selecting lines by clicking on the line number
Submitted by thinsoldier on Monday, 31 October, 2005 - 06:24
How do I enable the selecting of lines by clicking on the line number?

Is there a script that will automatically add a '>' whenever I type in '<'.
or automatically add a second double quote whenever I type the first one
or automatically add a ']' whenever I type a '['?
<> "" [] get it?

are there any addons/scripts that make jedit better for html authoring using VALID XHTML tags. All I've found are stuff that still do html by 1997 standards.

If you haven't guessed, I'm attached by the belly button to BBEdit. At home I have winxp and need to make Jedit mimic all the best functionality of BBEdit.

Before you say 'just learn Jedit', consider that I spend 8.5-10 hours at work using bbedit and maybe 2.5 hours at home using the computer. Not much time to truly learn it in it's default form. I'd prefer to try to just make it behave like BB.
Debugging using Jedit
Submitted by johnnyb1726 on Monday, 31 October, 2005 - 04:40
I was wondering is there any plugin for jedit that will allow you to use breakpoints and stuff like that to debug files using jedit.
beanShell Error when trying to use Jcompiler plugin
Submitted by matazar42 on Thursday, 27 October, 2005 - 08:00
Hey, I just started using Jedit and I keep getting this beanShell Error every time I try to do anything that has to do with the Jcompiler plugin. It looks something like this:

[error] BeanShell: java.lang.NoPointerException
.
.
.
. and goes on forever.

Is this a problem with my jdk or jedit?

Thanks,

Matthew
Searching for Non printing characters
Submitted by northernfrontier on Tuesday, 25 October, 2005 - 21:21
How do you search for non-printing characters? ie: Searching for and replacing all carriage returns with tabs or vice versa...
User login
Browse archives
« June 2025  
MoTuWeThFrSaSu
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   108256
Context Free Art (*.cfdg)   0.31   46074
BBEdit scheme   1.0   18610
JBuilder scheme   .001   18511
ColdFusion scheme   1.0   18044
R Edit Mode - extensive version   0.1   17492
Advanced HTML edit mode   1.0   16226
Matlab Edit Mode   1.0   16089
jEdit XP icons   1.0   15248
XP icons for jEdit   1.1   14312