jEdit Community - Resources for users of the jEdit Text Editor
Write Mode to treat period as a charchter?
Submitted by Anonymous on Tuesday, 21 September, 2004 - 21:29
I have a custom mode that I use. In this mode, a period is treated as a character. I would like to act as if abc.def were treated as a word when I double click to hilight or alt-. ctl-b etc.

ie.

[a-zA-Z0-9_\.]
Getting rid of built-in Commandos from the list?
Submitted by Anonymous on Tuesday, 21 September, 2004 - 16:47
Is there a way to get rid of the built-in Commandos from the list displayed at the bottom of Plugins/Console? I don't care about a whole bunch of them, so from my point of view, they're just clutter.

Thanks.
Compiling
Submitted by Anonymous on Tuesday, 21 September, 2004 - 16:43
If I understand compiling correctly, you have to make a Commando thing inside of the Console plugin. This seems overly complicated for what I want to do.

Really, I just want to be able to be able to associate some keystroke or button or whatever with an arbitrary shell command, which automatically can take the buffer's filename (or parts thereof) as parameters. For example, in UltraEdit (which is what I've been using, up until this experiment with jEdit), I have some keystrokes set up to do the following:

c89 %F -Wversion3 -Wsystype="guardian" -Werrors=10 -Wsyntax -Wextensions -Wverbose

And that "%F" in there is automatically replaced by the filename of the buffer. So, with just a simple set of keystrokes, I can invoke my chosen operation on the current buffer's file, using the options that I already know I want, and the output of the operation just pops up automatically.

Not only is this faster and easier than going through some popup GUI dialog generated by some Commando script, but also you don't have to go through the hassle of writing the Commando script in the first place.

Is there a way to do something like this in jEdit?

By the way, I'm not intending to badmouth Commando - it seems like it will be very useful in some situations. It's just that in this situation, it seems like overkill for no benefit.
Adding a new shell to Console?
Submitted by Anonymous on Tuesday, 21 September, 2004 - 16:27
I would like to use Cygwin via the Console plugin. I gather that I would have to add it as a new shell (along with the default "System" and "BeanShell" shells). Unfortunately, unless I missed something, the help files only seem to describe how to add a new shell programatically for some plugin that you're theoretically creating.

I'm not creating a new plugin. Is there a way to add a new shell just through some menu option or something? I haven't been able to find one.
Highlighting only between brackets?
Submitted by Anonymous on Monday, 20 September, 2004 - 13:10
Hello,
I wonder if it is possible to restrict literal highlighting to
space between brackets.

I tried to solve my problem with reg-expressions but it
did not work.

example:
In the following lines I want to apply the literal
highlighting (everything between ' and ' should be highlighted)
within the brackets:
options = ('option1 ', 'option2 ', 'option3 ', parameter)
matrix = [ 'sting1' ; 'string2' ]
But I do NOT want to have the highlighting applied in lines like this:
result = a'*b/c'

Does anybody has an idea how to solve this problem?
Is there a simple way to apply literal highlighting only
within brackets? To nest span rules?

Thanks a lot
Superscript, jRuby: 'buffer' and 'textArea' undefined?
Submitted by mhuggett on Friday, 17 September, 2004 - 12:17
I'd like to write a macro using JRuby and the Superscript plugin. However, the variables 'buffer' and 'textArea' seem to be undefined (despite what's written in the Superscript documentation). I was wondering if anyone here had had any success writing jEdit macros in Ruby.

Matt
jedit as editor for ftp-clients?
Submitted by saneinsane on Wednesday, 15 September, 2004 - 14:12
i'd like to use jedit as editor for ftp clients on mac. but if i choose jedit as editor in interarchy and try to edit online files, jedit opens a downloaded copy of the file instead of opening it via ftp. any suggestions?
what happened to indentation (out)lines?
Submitted by mcmilwj on Tuesday, 14 September, 2004 - 15:41
I recall a few releases ago (maybe it was a beta I was using) that there was a capability to have indented blocks outlined with a vertical gray lines in the text edit area. I no longer see a way to activate this feature. Is this implemented by a plugin or was it deemed to problematic and therefore removed? Here's hoping it is still possible and I've just missed some obvious setting.
Plugins for Java
Submitted by Anonymous on Tuesday, 14 September, 2004 - 10:20
Hi.

I use JEdit for writer my applications in java but I don't know the esencials plugins for java.

What's the essencital plugins for programing for java at the moment I use JCompiler.

PS: Sorry for my english but I'm spanish.
What should be specified in "Connect directly to" in Http proxy?
Submitted by Anonymous on Monday, 13 September, 2004 - 07:28
Dears,
I'm behined a proxy server and want to specify the authentiaction in JEdit 4.2 final edition.

What is the value that should be written in "Connect directly to"?

Thanks,
Ashraf Fouad
Auto-Indent for parentheses and operators?
Submitted by Anonymous on Sunday, 12 September, 2004 - 22:08
Is there a way to get jEdit to auto-indent using certain characters on the previous line as a guide? E.g. not having to press tab or make leading spaces while typing:
if(a == b
   && a == c
   && b !=c)
  cout << "Oh my god, " << endl
       << "this makes no sense!" << endl
       << ((1 + 2 + 3
            + 4 + 5 + 6)
           / 20.0) << endl;
emacs does some of this in it's c++ mode: '<<' automatically aligns with the first '<<' on the previous line, and anything after an unmatched '(' auto-aligns with the character after that '('. Or maybe you have to press tab to prompt it, but then it automatically finds the correct place to put it.

jEdit seems cooler than emacs, though, so it would be nice if there was a way to get it to do this! It would save a lot of time for me...if it's not possible now, would this sort of thing be possible with a plugin?
Stateless Console and how to overcome it
Submitted by Anonymous on Sunday, 12 September, 2004 - 19:09
When I want to compile C# source code within jEdit I encounter a problem with nonpersistent (stateless) Console plugin. Every command is executed in newly initialized shell which is a big problem for .NET Framework SDK. It uses sdkvars.bat to estabilish development environment within the shell (it sets apropriate paths etc.) but this settings seems to be valid only for one session. For example to compile "source.cs", i need to write:

...> sdkvars.bat
[some output from the bat]
...> csc source.cs


But how can I acomplish this within stateless console plugin?
Advanced EVAL in commando
Submitted by Anonymous on Sunday, 12 September, 2004 - 12:12
Very common is that some control in commando is populated using EVAL attribute, for example to populate "Source file" control, write EVAL="buffer.getPath()" as an attribute of the FILE_ENTRY element (BTW, commando.dtd is wrong and says that no such element is allowed, but all works). What if I want to write some EVAL-expression that has quotes inside, for example buffer.getPath().endsWith(".java") ? buffer.getPath() : "" ? Can anybody help me?
C# support
Submitted by Anonymous on Friday, 10 September, 2004 - 13:17
Does anybody use jEdit to develop in C#? I am quite new to jEdit and don't know how to force it to simply compile and run a code. Thanks for help.
Code aid and code completion
Submitted by rcosta on Thursday, 9 September, 2004 - 16:56
I'm using the Language FlagShip, very similar to Foxpro, in Linux. I already made a custom mode for syntax but now I want more. I'm trying to get code completion working or at least something like VB does showing a yellow floating box with the parameters of a function when we write the name of that function or with the properties and methods of a class when we write the name of an object of that class.
I've been walking around sidekick, codeaid, ctags, codebrowser and other plugins but still I don't guess how to do this in jEdit.
What plugin should I use and how can I configure it.

Thanks
Rui Costa
Superscript plugin - I don't get it
Submitted by PauloSargaco on Wednesday, 8 September, 2004 - 15:33
Hi there.

I installed superscript and downloaded js.jar from Mozilla's Rhino. I then copied js.jar to {jedit.home}/jars and restarted jEdit. I also changed the superscript optins so that js is recognized as a macro extension. When I use superscript it seems that nothing useful happens. For instance, if I use the text box in the superscript docking window, when I type 2 +2, what I get in the results window is just an echo of what was typed:

-> 2 + 2

same thing with every instruction like parseInt("qwq123").

I also tried opening a js script with jEdit and using the Execute Script button. Nothing happens.

I must be missing something really obvious.
How should I view java applets
Submitted by Anonymous on Wednesday, 8 September, 2004 - 11:20
This is probably dead easy but, is there a simple way to view java applets from within jEdit? At the moment I leave jEdit open a Command Prompt window and use appletviewer or I run the html document.
How to associate files with jEdit ?
Submitted by lasterix on Wednesday, 8 September, 2004 - 08:09
Hi,

I 'd like to know how to associate ".txt" or others, files with jEdit (I want to open the file with jEdit when I double clic on it).

Thanks.
why do the docks always open?
Submitted by Anonymous on Tuesday, 7 September, 2004 - 02:03
i have a shortcut key (f4) set to run an AntHelper task. i also have AntFarm docked on the left and Console and ErrorList docked on the bottom. if i have all docked windows closed and push the f4, the AntFarm and Console popup open.

is there some way to suppress this?

There is abolutely no reason for the left dock to open. I have to close it everytime at the cost of extra mouse work. And I would actually only like to see ErrorList if there are errors. Otherwise, nothing should come up in the bottom dock either. (However, if the Console must open, i can live with that, probably.)

Thanks for any and all help!!!
use special keys for macro execution
Submitted by bjoern_jedit on Monday, 6 September, 2004 - 14:00
Hi, it might sound a little crazy (although I have
serious applications in mind) but I need to
get jedit to make a backslash when typing
the following two keys at the same time:

Left-Windows-special-key german-umlaut

I managed to get a backslash when typing

A+n for example. However the windows special
key seems not do work for that nor do the
german special keys.

I would really appreciate any suggestions !
User login
Browse archives
« May 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
31
 
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   108253
Context Free Art (*.cfdg)   0.31   46074
BBEdit scheme   1.0   18609
JBuilder scheme   .001   18511
ColdFusion scheme   1.0   18044
R Edit Mode - extensive version   0.1   17490
Advanced HTML edit mode   1.0   16226
Matlab Edit Mode   1.0   16088
jEdit XP icons   1.0   15248
XP icons for jEdit   1.1   14312