Where to get jikes?
-Original Message-
From: Nascif Abousalh-Neto [mailto:[EMAIL PROTECTED]
Sent: Monday, March 08, 2004 6:51 AM
To: [EMAIL PROTECTED]
Subject: ANN: jde-flymake
Hi all,
I also posted an initial version of jde-flymake, which provides
extensions to Flymake
Folks,
I thought you might find these useful.
The idea is that when you are changing the name of
a variable from say
bufferPosition
to
currentBufferPosition
using the default M-c binding (after inserting current) is useless
because you will get
currentBufferposition.
With the
Folks,
I had brought up this issue earlier...I took a first crack at
it.
It is still rough but with some expert help this could be completed...
Especially I need help with save-excursion and buffer selection etc...
For now -
1. Compile any java class such that it results in error
; goto
next hyperlink
[(shift tab)] 'jde-introspect-previous-ref; goto
previous hyperlink
Sandip
-Original Message-
From: Berndl, Klaus [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 19, 2003 2:07 AM
To: 'Sandip Chitale'; [EMAIL PROTECTED]
Subject: RE: Introspection
To use :
1. unzip the attached zip at in the jde directory
2. Just put the following in your .emacs
(require 'jde-introspect)
Now put the point anywhere in Java buffer where you would
normally invoke jde-complete functions. Then type
(control c) (control v) (/) to see the java typeinfo
buffer.
Title: Message
Folks,
Many of the
jde-gen-cflow-BLAH templates call the the
c-indent-defun
at the
end.
I find it
obstructive for following reasons...
1. I use
jde-modefor editing JSP code. It works very
well
after adding
the following keyword regexps.
(font-lock-add-keywords
If you mean in JDEE when you say if there is a way to detect
unused code I do not think so.
It could be done though, using semantic and static analysis.
I am not sure if semantic parses the method bodies though.
Some code may present itself as used but may not get actually
called e.g.
I think there is some code in jde-wiz-get-set-methods in jde-wiz.el
to check if getters and setters for a given property already exist
and not generate them again. A similar strategy could be applied to
achieve the result you want. It basically uses semantic.el.
-sandip
-Original
Have you looked at the compilation-mode-hook and use the -
*Docstring*
hscroll-mode is an interactive compiled Lisp function in `hscroll'.
(hscroll-mode optional ARG)
This function is obsolete.
Emacs now does hscrolling automatically, if `truncate-lines' is non-nil.
Also see
Can the 'compilation-old-error-list' or 'compilation-error-list' variables
be used to detect presence or absense of error messages in the compilation
buffer instead of string-match in the code below ?
Here are the doc strings for the variables -
compilation-old-error-list's value is nil
If not, what is the best way to implement it ?
We do need to support spaces in the CLASSPATH (third-party
libraries and all that), but I'd rather not see a lot of
effort going into making JDEE support this when the
workaround is simply to work in a directory other than
C:\Program Files and
C:\Documents and Settings\xxx\My Documents
I
Ick, derived from Import Check, is an import management tool for Java
programs written in Java
http://www.ovmj.org/ick/
Not a JDEE question really
Anyhow...here it goes...
(defun electric-open-delimeter ()
Automatically insert matching delimeter.
(interactive)
(self-insert-command 1)
(let* ((arg (elt (recent-keys) 99))
(key-match (assoc arg '((?\( . ?\)) (?\{ . ?\}) (?\[ . ?\]) (?\ .
?\) (?\'
Here is my stab at fixing jde-open-class-source fails with full class
name.
This also deals with some of the proposals I had made earlier.
(defun jde-normalize-class-name (class-name)
Normalize the class name by substituting / or \\ with .
(substitute ?. ?\\ (substitute ?. ?/ class-name))
)
Are you looking for the following ?
(jde-open-class-source (jde-complete-eval-type-of (car
(jde-complete-java-variable-at-point
-Original Message-
From: Ralph Jocham [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 03, 2002 2:57 PM
To: [EMAIL PROTECTED]
Subject:
compilation-scroll-output's value is nil
Documentation:
*Non-nil to scroll the *compilation* buffer window as output appears.
Setting it causes the compilation-mode commands to put point at the
end of their output window so that the end of the output is always
visible rather than the beginning.
This has troubled me also. I never got around to
raizing the issue or attempting to solve it.
In fact the jde-open-class-source when called
interactively should support all these forms -
Object // search on classpath, prompt if multiple
java.lang.Object // bypass
Some useful defuns...
(defun jde-show-superclass-source ()
Show the superclass source.
(interactive)
(let ((tokens (semantic-token-type-parent-superclass
(semantic-current-nonterminal-of-type 'type
(if tokens
(if (= (length tokens) 1)
(jde-show-class-source
Eric,
-Original Message-
From: Eric D. Friedman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 20, 2001 8:24 AM
To: JDE List
Subject: placement of member variables in get-set generator
Does anyone have any idea what it would take to change M-x
jde-gen-get-set
so that
Folks,
Should the buffer corresponding to the temporary file jde_meta.html
be renamed to, say - *jde_meta.html* in the jde-help-show-class-member-doc
function in jde-help.el, so that many buffer cycling packages skip over that
buffer ?
-sandip
.
;; Author: Sandip Chitale ([EMAIL PROTECTED])
;; Keywords:programming decipline convenience
;; Keywords:
;; Time-stamp: Aug 22 2001 11:10 AM Pacific Daylight Time
;; Version: 1.0
;; This file is *NOT* (yet?) part of GNU Emacs.
;; This program is free software; you can
Here is the simplest trick that does what people have been
asking for i.e. limiting line length. I had a hunch that
font-locking could be used for that.
The idea is to simply add the following regexp to the keyword list -
(font-lock-add-keywords
'jde-mode
'(
'((^\\( \\|\\)\\( \\|\\)\\( \\|\\)\\(
\\|\\)\\( \\|\\)\\( \\|\\)\\( \\|\\)\\(
\\|\\)\\( \\|\\)\\( \\|\\)\\( \\|\\)\\(
\\|\\)\\( \\|\\)\\( \\|\\)\\( \\|\\)\\(
\\|\\)\\( \\|\\)\\( \\|\\)\\( \\|\\)\\(
\\|\\)\\(..*\\)$ 21 'jde-bug-breakpoint-marker t)
)
)
Assumes a fill column of 80 and tab width of 4.
HTH,
sandip
-Original Message-
From: Sandip Chitale [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August
kind of explain the meaning of the methods
in 999 out of
1000 cases :)
Max
Sandip Chitale [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
ft.com...
Please find attached is an enhanced(?) version of Javier's
jde-wiz-get-set-methods
prototype. Give it a try(at your own
-
From: Sandip Chitale
Sent: Friday, July 27, 2001 4:49 PM
To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED]
Subject: RE: limiting line length
Or maybe just vertical line down the screen at char 80 to
let you know when a line is to long?
Does anyone know of a way to do
]]
Sent: Monday, July 23, 2001 11:58 PM
To: Sandip Chitale; [EMAIL PROTECTED]
Subject: RE: auto-gen get/set pairs for existing class variables
if no one has started working on this I will try to get a prototype
working over the next few days. If someone already started
doing something
Please find attached is an enhanced(?) version of Javier's
jde-wiz-get-set-methods
prototype. Give it a try(at your own risk).
Enhancements -
1. Do not ignore non-public final variables.
Generate accessors for final variables if not already defined.
2. Print a
Shouldn't this be easy with Semantic.
In fact, the function could show the list of
non-public properties for which a getter/setter does not
exist and let the user generate them in one shot
e.g.
Class Class1
TypeGetter
Setter
non-final
I thought I will share this with people on jde list. It helps
you quickly identify what key combinations are available.
(defun keytable (arg)
A simple repacement for `describe-bindings' function to print the key
bindings in a tabular form.
The `describe-bindings' function shows a single column
- Original Message -
From: David Fellows [EMAIL PROTECTED]
None of the world's existing prj.el files contains an invocation of
(jde-load-outer-project-file). In my understanding of your suggestion
this would ensure that no search for outer prj.el files would occur.
This is the
Nick,
There is also a utility function `jde-compile-finish-update-imports' that
is
suitable for inclusion in `jde-compile-finish-hook' so that imports are
updated automatically.
The compile finish hook idea is fantastic. However it should not update the
file if the new import list matches
Please read file:// as // in my email.
The stupid outlook add that no matter what I do.
- Original Message -
From: Sandip Chitale [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: Sandip Chitale [EMAIL PROTECTED]
Sent: Saturday, April 28, 2001 10:46 AM
Subject: Enhancement
Folks,
#jde_filesystem_root_dir# in the directory that the user wants to be
considered the root directory of the mounted filesystem.
The JDE prj file
searching mechanism could then be modified to stop its
upwards search if it
finds this file.
What do you think?
- Paul
It
It has a severe backwards compatability problem. All prj.el files
everywhere except those that are at the root of project trees would have
to have an explicit (jde-load-outer-project-file). The alternatives only
require those jde users who are running on networked Windows machines do
Hello Guillaume,
Do you have ideas of what other errors could be detected
automatically? I
could only think about unbalanced parenthesis. Maybe other
syntaxic error
could be detected by syntaxic parser bundled with the JDE?
Well I can think of various others -
1. If a type name cannot
Here is what I have so far. Is there a better way ?
(defun java-get-buffer-full-class-name ()
"Get the buffers fully qualified class name."
(interactive)
(if (jde-parse-get-package-name)
(concat (jde-parse-get-package-name) "." (class-from-file-name
(buffer-file-name)))
Well, Scott Stanchfield had started some work on this -
http://www.javadude.com/tools/importifier/index.html
Also here is my post from few months ago -
There is a perpetual controversy about wild card vs specific
imports :
import java.awt.*;
vs
import java.awt.Frame;
import
Nic,
I would like to add to some of what you have said
Nic Ferrier wrote:
snip 8-snip
It struck me that there is a possible solution to this. When a class
file is compiled with the -g switch the source file name that is was
compiled from is embedded in the class (this is
C-x h M-x indent-region Ret
HTH,
Sandip V. Chitale
work: (408) 535 1791
email: [EMAIL PROTECTED]
web: http://www.brokat.com
March 22.-28.2001 CeBIT
Visit Brokat Technologies in Pavilion P32, our new location!
-Original Message-
From: Sing HU [mailto:[EMAIL PROTECTED]]
Sent:
I can imagine a situation where you don't create a
package based directory structure for your files but it
should be possible to map the name found in the class
file to the source files somehow in whatever configuration
the source files are in. As long as you have the build
structure
Actually the compiled .class file (constant pool) is the best place
to find out which classes are actually imported. Thus parsing
the .class file(s) (post a successful compile) a tool could easily
come up with an expanded (i.e. no .* imports) and only necessary imports
list
and replace the
Folks,
Some one was asking about being able to complete
paths in the customization buffer while setting global
classpath etc.
I want to bering to your attention the following -
hippie-expand is an interactive compiled Lisp function in `hippie-exp'.
(hippie-expand ARG)
Try to
43 matches
Mail list logo