Viewing Jar files & encoding
Submitted by
paulvon on
Thursday, 6 November, 2008 - 16:46
When I use jEdit (4.3 pre 15) to view a jar file. I am having an encoding issue.
a) Error message on start - The file could not be loaded correctly ... with the encoding xxx
b) There are a lot of square boxes in the code.
I assume that this is an encoding related issue. I have tried a number of various encoding schemes and I always get the items mentioned above.
In addition I have added a number of Plug-ins but they have not resolved the issue.
Any ideas would be appreciated.
Somewhat Advanced SuperAbbrevs
Submitted by
takeshin on
Tuesday, 4 November, 2008 - 22:10
Hello,
Is there any chance of getting SupperAbrrevs to process variable twice?
I'm trying to do something like that, but it doesn’t work:
${1:public}
<# if ("$1" == "private") { #>
<#= "_" #>
<# } #>
If user enters "private" it should write underscore.
Another problem is processing entered variables like this:
/**
* Setter for property '${1:property}'
*
* @access ${2:public}
* @name set<# fu = "$1"; fu = fu.toUpperCase(); #><#= fu #>
* @param ${3:string} \$$1 $4
* @return ${5:null}
*/
$2 function set${1=firstUp(s)}(\$$1) {
\$this->${6:_}$1 = \$$1;
}
$end
It returns setter in PHP like this:
/**
* Setter for property 'property'
*
* @access public
* @name setproperty
* @param string $property
* @return null
*/
public function setProperty($property) {
$this->_property = $property;
}
But I want to have camelCase setProperty
after @name
How to achieve that?
--
regards,
takeshin
How To Install Plugin on a Mac
Submitted by
cpsmusic on
Thursday, 30 October, 2008 - 04:28
I have a couple of questions related to plugins.
Firstly, I'd like to install the latest version of JDiffPlugin (2.1.0) on a Mac (OS 10.4). Why doesn't this version of JDiffPlugin appear in the plugin repository? All I can see is 1.4.2.
Secondly, I've downloaded the binary version of the JDiffPlugin. However I can't find the .jar file. All I can see is a whole lot of .class files and some other bits and pieces. I thought I needed a .jar file.
How do I install this plugin?
Cheers,
Chris
Closing Buffers
Submitted by
floomby on
Monday, 27 October, 2008 - 19:34
Hi...
I am new to jEdit but I can't seem to work out how to close Buffers properly in jEdit. (i'm using jedit 4.13pre15 and java 1.6u10)
Ok. I am working on 3 buffers and I close jedit. When i reopen, the last buffer i was working with does not reappear as the current buffer or in the list but one of the other two buffers appears. If i try to close this file using Close or Close (global) it will not close.
If I am working with only one buffer and I close jedit, when i repopen jedit, it has the buffer that I was working with but I cannot close it.
Thanks for the help
Favorite custom name
Submitted by
nublaii on
Monday, 27 October, 2008 - 11:32
I have been looking around and this is the only thing I found, dated back on 2006, about my problem.
http://community.jedit.org/?q=node/view/3239
In short, favorites can become very ugly: it always shows protocol://username@host+path
If you start saving favorites with long paths and ips the list can become almost illegible really fast.
Is there a way of customizing the name? on the favorites list?
Using split screen for two separate files
Submitted by
forkinpm on
Saturday, 11 October, 2008 - 10:24
Hallo!
I am new to your great editor and would like to be able to use the editor split pane capability to open one file and create a second from a translatiion of the first.
Is this possible?
I hope so, but I can see how to?
I would also like to be able to use jEdit in a reduced size window, but cannot seem to see how to.
Please help me.
Thank you and regards, forkinpm.
Rails erb file indenting OK, highlighting not.
Submitted by
mamboze on
Sunday, 28 September, 2008 - 06:14
Hi,
I posted earlier today but my post has not appeared on the forum. I'm not sure what happened but anyhow, this is the issue - I'm using Rails 2 and I cannot get consistent syntax highlighting with .erb files. After a previous post on this,
http://community.jedit.org/?q=node/view/3876
I added the following:
to /usr/share/jedit/modes/catalog This fixed the syntax indenting but had no effect on the highlighting. Any help would be much appreciatated
cheers
Roy
Syntax highlighting problem with Rails 2 erb files
Submitted by
mamboze on
Sunday, 28 September, 2008 - 00:44
Hi,
I'm using Rails 2 on jEdit and the syntax highlighing for the .erb files is not working consistently across the various code elements. In fact, it looks pretty weird and is very distracting. The other Rails files are OK. The Ruby plugin is installed. Since the .erb files contain html tags and generate html code for display, maybe html style highlighting would be OK. I suppose this would be a config file issue but I don't know what commands need to be used.
Any help on this would be much appreciated.
Cheers
jEdit 4.3pre15 fails to start on Mac after Java 1.5.0.16 update
Submitted by
Seron on
Wednesday, 24 September, 2008 - 23:20
I get these error messages. Don't know if they are related to the problem.
01:08:34 [main] [error] PluginJAR: Error while starting plugin macos.MacOSPlugin
01:08:34 [main] [error] PluginJAR: java.lang.NoClassDefFoundError: com/apple/cocoa/application/NSMenu
01:08:34 [main] [error] PluginJAR: at macos.MacOSPlugin.start(Unknown Source)
01:08:34 [main] [error] PluginJAR: at org.gjt.sp.jedit.PluginJAR.startPlugin(PluginJAR.java:1363)
01:08:34 [main] [error] PluginJAR: at org.gjt.sp.jedit.PluginJAR.activatePlugin(PluginJAR.java:739)
01:08:34 [main] [error] PluginJAR: at org.gjt.sp.jedit.PluginJAR.activatePluginIfNecessary(PluginJAR.java:809)
01:08:34 [main] [error] PluginJAR: at org.gjt.sp.jedit.jEdit.main(jEdit.java:462)
01:08:34 [main] [error] ErrorListDialog$ErrorEntry: /Applications/jEdit.app/Contents/Resources/Java/jars/MacOS.jar:
01:08:34 [main] [error] ErrorListDialog$ErrorEntry: Cannot start: java.lang.NoClassDefFoundError: com/apple/cocoa/application/NSMenu
01:08:34 [main] [error] ErrorListDialog$ErrorEntry: Try updating to a newer version of the plugin.
cannot download new plugins
Submitted by
martinsarsini on
Thursday, 18 September, 2008 - 12:31
ohi, what are all these errors in the forum?
so I am trying to download a plugin, I can see all the list of plugins, but if trying to install one I am getting an error "error while downloading the plugin, please try another mirror. Connection timed out: connect"
I tried all mirrors but I get the same error. I tried deactiveting my windows firewall.
I tried on my computer at work where I am sure no settings have changed. I have tried at my home computer where I have done a brand new installation.
What can it be?
How to invoke external interpreter?
Submitted by
tlp on
Monday, 15 September, 2008 - 19:33
I am trying to use the console-plugin to invoke my sml-interpreter, but I can't seem to figure out how to do it.
I go to the console plug-in settings, chose 'Compile & Run' pane and then I scroll down to the 'ml' dropdown lists. But in the dropdowns I cannot choose my interpreter, only the 'preinstalled' ones (ant, diff, hugs, java, javac...).
I'd appreciate a hint in the right direction.
Regards,
Trolle
Using the Scheme plugin
Submitted by
kiselblat on
Sunday, 14 September, 2008 - 20:17
I was wondering about how the Scheme plugin works with the console. I'd like to set the Scheme interpreter setting so that I can use the console roughly the same way it works in, say, Dr. Scheme or Emacs Inferior Scheme. Is there any way to do this in jEdit?
Thanks in advance for your help!
Tom
multiple file search
Submitted by
tig12 on
Friday, 12 September, 2008 - 05:39
Hello,
when I perform a multiple file search, I want to get rid of subversion files in the results.
I want to tell :
Don't search in files that end with :
.svn-base
nor in files that are named :
entries
In the "filter" field, I can enter
{!*.svn-base}
or
{!entries}
it works. But how can I specify both using a glob pattern ?
I tried several things, like {!*.svn-base}{!entries}
An other way could be "don't select files that contain .svn in their path", but the filter field permits to filter file names, not directory
Any ideas ??
Thank you, Thierry
nested, empty super abbrevs
Submitted by
takeshin on
Wednesday, 3 September, 2008 - 17:09
How should I create abbreviation in SuperAbbrevs plugin, which skips some text if variable is empty?
For example:
<a href="$1" title="${2:default}">$3</a>
When $2 is empty (or default) and I jump next to $3 (or $end), whole title="…" should be removed.
--
regards,
takeshin
Importing Empty Directories with Project Viewer
Submitted by
SkinnyK on
Wednesday, 3 September, 2008 - 03:11
How come project viewer does not import empty directories that are within my project tree? How can I enable this?
Using Find/Rep;lace to substitute a Tab character for another character
Submitted by
Stuart on
Saturday, 30 August, 2008 - 17:22
I often use jEdit to prepare datafiles for subsequent manipulation. At times it is convenient to line up "data fields" into columns in a tab delimited format. Hence, I
would like to substitute a "|" [vertical bar character] that is used as a delimiter and replace it with a tab character (or perhaps 2 tabs) so that the columns are aligned
and readily visible and comparable for visual inspection.
However, when I try to insert a tab character into the replace field of the find/replace pane, it simply moves to the next toggle button (selection) and does not enter a tab character as a replacement. I have tried to use /t "/t", and even prepare a bean-script to do this but so far I haven't succeeded (I get /t or "/t" instead of the tab characer). The user guide doesn't seem to provide insight, at least to me, of how to do this.
Might anyone be able to help me?
Thank you very much,
Stuart
printing problem from Jedit under Linux
Submitted by
fjse on
Saturday, 30 August, 2008 - 12:17
Dear community,
My problem is I can not print from jEdit (stable and dev version) under OpenSuse 11.0. I have tried with jdk6 and jdk7. Under Windows I have no problem.
Someone could help me?
Thank you in advance
F.J. Santa Eugenia
Inserting ^D into a program with Jedit
Submitted by
r0b on
Wednesday, 27 August, 2008 - 15:22
I've been racking my brain since 06:00 this morning trying to figure out how to insert a -d into a program. I'm automating a process using expect and need to pass -d to the interface it is communicating with. I've pushed my google-foo as far as I can, and I've searched the Help Section as best I can and turned up nothing of use. I've tried whitespace, but it's only for viewing 'invisible characters'.
My apologies for the frustration and my lack of knowledge. My deepest gratitude to those willing to 'show me the way'.
How to compile your code?
Submitted by
RedexRobB on
Monday, 25 August, 2008 - 09:16
Im currently learning Java from scratch out of a book, ive installed jEdit fine and starts up no problem. Problem im having, is when im following the book im learning from, it asks me to compile the code, but i dont seem to be able to find a button or option to do it anywhere.
Ive used other editors before for other languages and theres always been an option to compile/build the code to check the syntax is correct.
any help appreciated.
Rob
File size indicator in status bar?
Submitted by
tvojeho on
Saturday, 16 August, 2008 - 17:08
Hello,
I was wondering if there was a way to display the size of current buffer in the status bar. Many editors show this information, and I think it would be convenient. I did not find anything in the help files on this, perhaps some plugin displays it, but I did not find any either.
Cheers, tvojeho