Auto Pairs {}()[]
Submitted by
thinsoldier on
Friday, 16 June, 2006 - 01:55
is there a plug in that makes it so any time i type in one paired character it will automatically close it
< >
{ }
[ ]
( )
No I don't need somthing to automatically close html tags! Just these characters.
Reproducing Basic BBEdit Features
Submitted by
thinsoldier on
Friday, 16 June, 2006 - 01:46
Lets try this again
I've been desperately trying to find a GOOD text editor that will run in windows for many months now. I tried jedit some time last year and after trying many MANY apps over the last two months I'm back to jEdit. It is in may ways a bit better than the rest but there are still a few features that are either not there or I can't seem to find. Not having these features makes trying to work outside of BBEdit a time consuming nightmare for me.
Maybe someone here can help me find them or let me know they don't exist in jedit.
#1 \r and \t
Lets say I have a number of spaces that I want to turn into tabs.
In bbedit I can represent a tab character with \t. Find my spaces. Replace with \t\t.
It's similar with new lines. Find all \r\r and replace with just one \r until the number of empty lines is to my liking.
Yes I know theres a macro that will convert all spaces to tabs and vice versa. But what if I don't wan that to happen to the entire file, what if I have a specific reason to have a certain number of spaces or a certain number of tabs and it's only important to section of the file and not the whole thing.
so is there a character i can put into jedits find/replace that will match the newline character? or tab character instead of literally pressing tab then copying and pasting!?!?
#2 (?s) multiple line regular expressions
For example:
<p>doodie</p>
<p>
mulligan
</p>
<p> piggums </p>
This expression: <p>.*?</p> will match the doodie and piggums paragraphs...but not mulligan.
In some programming languages and other applications like BBEdit I can specify flags that modify the way regular expressions work. If start my expression with (?s) it will make the expression match all three. This comes in very very handy for me all the bloody time.
#3 - multiple line search text fields
Example: lets say I need to batch find/replace the following over many files
$user='something';
$pass='else';
But other parts of many files have variables named $user and $pass.
I do know for sure that the original programmer always has just these two lines one after the other and other usage of $user and $pass tend to be mixed in with other code or have something betwen them.
if I could past both lines into the search box it would greatly reduce the chances of matching something I don't want it to match.
Actually if I could just use \r to indicate a new line in the single line text field that would be just as good.
Even with many months (off and on) of jEdit use under my belt I still spent over 20 minutes the other night cleaning up 1 afwul html file that was sent to me and long before finishing I gave up. It was easier to wait until I got to work and clean up all 4 of them in under 10 minutes using BBEDIT and the very simple features I described above.
Yes I know i could have used jtidy but I have very strong preferences as to how I want MY html files to look which make them EASIEST for ME to read. Jtidy doesn't do ME.
It always ads the html, head, body etc... tags that I am already using includes to bring in, so its just more stuff I have to double check to remove.
And how to I turn off this html autocomplete?
;(
Submitted by
thinsoldier on
Friday, 16 June, 2006 - 01:14
yip, never type your entire post into the form itself.
some bull will always happen.
jEdit vs Ubuntu 6.06
Submitted by
imehesz on
Wednesday, 14 June, 2006 - 22:23
Hello everybody,
I started to use jEdit about 3 months ago w/ windows. and i just love it... I tried to install it on my debian laptop but i got some error message during the installation and since that laptop is my "experiment" laptop I installed Ubuntu 6.06...
so finally, jEdit is up on my computer but it won't start... and when I try to launch it through command line, i get a nesty message saying:
GC Warning: Out of Memory! Returning NIL!
Exception in thread "main" GC Warning: Out of Memory! Returning NIL!
java.lang.NoClassDefFoundError: org.gjt.sp.jedit.jEdit
*** Got java.lang.OutOfMemoryError while trying to print stack trace.
Do you guys know what it is???
thanks
jEdit - can it be integrated into MicroSoft Visaul C++ IDE
I have been using jEdit for some time, but have recently been working on a project that requires the use of the Microsoft Visual C++ IDE, which by default utilises it's own (somewhat limited by comparison) text editor.
Is there any way that I can hook jEdit into this IDE?
I appreciate that this may be an inappropate location for this post, but I'm hoping that someone in this community has had this experience and can point me in the direction of a solution
Thanks,
Paul
Replace Blank Lines with a text character?
Submitted by
jroy on
Thursday, 8 June, 2006 - 17:45
I have been searching the archives and cannot find an answer to my question. I want to know if I can search a file and find all blank lines and replace with a text character? Then I want to be able to search all files in a directory and do the same. Is there a specific plugin I can use? Anyone have a Macro? I cannot believe that this has not already come up
Thanks,
Jery
How to define meta keys with mouse clicks
Submitted by
fincher42 on
Wednesday, 7 June, 2006 - 13:34
How do I define meta key combinations with mouse clicks?
I want to define ctrl-left_mouse as 'delete word', but the gui shortcut editor doesn't allow such wonderful things. Do I need to directly edit a config file?
Cheers,
Mitch
Can I buy Manfred Usselmann's theme?
Submitted by
ilazarte on
Tuesday, 6 June, 2006 - 13:19
I'm working to customize JEdit, and I'm making painfully slow progress.
I really just want to get it looking like this :
http://www.jedit.org/index.php?page=screenshot&image=18
maybe with these icons:
http://www.jedit.org/index.php?page=screenshot&image=25
Can I buy these somewhere? Manfred, no joke, if you visit these forums, I will paypal you 30 bucks this instant if you have this available in a form I can import.
Bracket Matching
Submitted by
fh on
Tuesday, 6 June, 2006 - 09:27
How can I switch off the bracket matching feature, so that brackets in all syntax tokens are considered.
TomcatSwitch
Submitted by
ccapeng on
Monday, 5 June, 2006 - 05:29
Does TomcatSwitch plugin support Tomcat 5.0?
Newbie ? on Console Compile
Submitted by
rray on
Friday, 2 June, 2006 - 14:48
I am new to JEdit. I am using the latest version of JEdit-jEdit 4.3pre4. When I use the console to compile my source code, I see the following in the system window:
javac -classpath "$CLASSPATH;C:\jdk50Study\src\access" -sourcepath "C:\jdk50Study\src\access" -g -deprecation -encoding Cp1252 "C:\jdk50Study\src\access\Mini.java"
However, when the JDK runs the command, I see the follwoing error:
java.lang.RuntimeException: Unrecognized command: javac -classpath <.... I left this long list out>
Can anyone shed some light on this issue for me. I really need to get JEdit working.......
Thank you for any words of advice.
Russ
Newbie ? on JCompiler
Submitted by
rray on
Friday, 2 June, 2006 - 14:41
Guys/Gals:
I am very new to JEdit. I am using the tool to work with JDK1.5. I have install the JCompile pulgin. When I try to compile the source code, I receive the following exception involving the BeanShell Error Dialog box.
java.lang.NoSuchMethodError: console.Console.setShell(Lconsole/Shell;)V
at jcompiler.JCompilerPlugin.executeCommand(JCompilerPlugin.java:106)
at java.awt.EventDispatchThread.run(Unknown Source)
Is there something I have not done?
Thank you for any words of advice.
Russ
Work with FTP
Submitted by
maksud on
Friday, 2 June, 2006 - 11:24
Is it possible to connect to ftp using jEdit, if I'm under proxy? I cannot see place where I can fill my FTP proxy settings.
Maksud.
Lookbehind regex?
Submitted by
Full name on
Friday, 2 June, 2006 - 06:54
Can I use lookbehind ( http://www.regular-expressions.info/lookaround.html ) in jEdit? The lookbehind syntax ( (?<!a)b ) gives an regex error and the manual doesn't mention it so I'm guessing jEdit doesn't support it. Either that or it's using some undocumented syntax I'm not aware of.
PHP Project error
Submitted by
metric152 on
Wednesday, 31 May, 2006 - 21:30
I received a new updated today for the Project Viewer plug-in. Once I restarted jEdit I received the error
PHP Project
Your project is in an invalid file format. You have to refresh the project.
I tried moving jar's in and out of the main program folder until the error stopped. Once i figured out which one it was (PHPParser) I removed the PHPParserPlugin folder from ~./jedit/PHPParserPlugin directory and let jEdit recreate it. That solved the problem for me.
If anyone else runs into this error I hope it will help.
Questions on the Console and Project Viewer plug-ins
Submitted by
technel on
Tuesday, 30 May, 2006 - 04:10
Hello,
I am using jEdit for Ruby on Rails development. Code completion, abbreviations, etc. work well, but I am still having some issues.
First, when I run a generator that finds duplicate files, it asks for user input as to whether or not to overwrite the files. In the regular Windows command prompt, this works fine, but in the jEdit console, it just shows it as "Working..." and doesn't ask if you want to overwrite.
Second, when you run the WEBrick server, you must leave the console window open. Is it possible to create a macro to create a new floating instance of Console and run the required command ("ruby script\server")?
Third, when I use a generator, it creates a lot of files. I use them quite frequently, and it can sometimes be annoying to have to go to re-import files every time a file is created outside of jEdit. Is it possible to have jEdit monitor the directory and auto-import newly created files, even when jEdit is open?
Thanks!
Improving the verilog mode
Submitted by
wipet on
Monday, 29 May, 2006 - 13:23
Hi, I am trying to improve the verilog mode to fit a coding guildline, I whant the "begin" and the "end" to be aligned.
The problem is that I am not able to tell jedit to lineup the "end", I've trided by using :
"PROPERTY NAME="indentOpenBrackets" VALUE="begin" /"
"PROPERTY NAME="indentCloseBrackets" VALUE="end" /"
with no sucess.. can someone help?
(sorry for my bad english)
tx in advance
Formating XML tags - automatic indent of tags groups
I'm looking to automaticly indent by tabs XML group tags. Also indent Javascript's "if", functions etc.
Is there such command/plugin/macro?
Default Edit mode : defeating Fortran
I'm editing FORTH files which use the suffix ".f" .
The assembler coloring works well enough for my purposes
and I have set the defaults for both the global and buffer
options to default to that . But something insists on opening
.f files as FORTRAN which I haven't used in 35 years .
How do I kill that ?
Opening Unicode files
Submitted by
camomiletea on
Wednesday, 24 May, 2006 - 23:22
When I open a UTF-8 file without a BOM (Byte Order Mark) in jEdit, I see weird squiggly characters (if you know what I mean) in place of expected Cyrillic. I didn't find a place where I could specify the encoding. I also wanted to have the ability to specify 'no BOM' on any UTF-8 files I may create in future.
I was actually able to type in some Russian, but that isn't enough. I need to be able to open Unicode files created in different applications too.
Any ideas?