Folks,
I directly use the jde-mode with JSP pages (instead of multi
mode switching using
mmm-mode etc - which is distracting). However jde font-lock tries to
fontify the non
java code. That looks weird. To improve the situation used the
font-lock-add-keywords
mechanism to take care of
How do I use jde font locking mechanism to fontify a buffer without
switching to
jde-mode ?
Any tips ?
thanks,
sandip
Yes. At least the indentation to be done only for the template
expansion.
I will try to figure it out how to do that.
I am thinking of the following approach -
1. Define a region aroung the template expansion
2. Call indent region.
-sandip
-Original Message-
From: Christian Mercat
May be it has to do with where emacs searches for the
.emacs file. It looks of it in the so called HOME directory.
I know the notion of HOME directory is different on
different version of Windows.
In other words your Windows 2000 installation is not loading the
.emacs from the location you have
I agree with you.
In terms of features in debugger I would like to see -
1. fast update to different views
2. better variables view (I would like to suggest Java based GUI for
this i.e. a treetable)
3. storing and managing breakpoints
4. breakpoint grouping
4. Different kinds of breakpoints
Chitale, Sandip V writes:
I agree with you.
In terms of features in debugger I would like to see -
1. fast update to different views
2. better variables view (I would like to suggest Java
based GUI for this i.e. a treetable)
This is planned.
3. storing
Klaus,
Thanks for your enhancements. I am a beginner lisp programmer
(which may have been revealed by my long winded coding style and indentation
and incomplete knowledge of what is already available in base emacs
packages).
Where I want to take this idea is to:
1. Run a background compilation
-Original Message-
From: Paul Kinnucan [mailto:[EMAIL PROTECTED]
Sent: Monday, February 24, 2003 12:15 PM
To: Le Wang
Cc: [EMAIL PROTECTED]
Subject: managing imports
--8-snip8-
People have suggested adding a command to import all
It is due to the (IMHO) extraneous (c-indent-defun) call at the end of
jde-gen-cflow-if template. Customize it and remove the call.
(Reasoning: why should every if statement indent the whole functions?
Maybe the call should be substituted with indent-region, assuming the
whole if statement is
Paul,
Actually I have a question about region based cflow templates. How do I
use them?
I ask because, with region, as soon as I type first letter of 'if' or
'try' the mark (region) is deactivated.
Or the only way to use the functionality is by marking a region and then
doing one of:
1. M-x
AM
To: Chitale, Sandip V
Cc: Paul Kinnucan; JDE Users
Subject: RE: Useful helper functions
Chitale, Sandip V writes:
Paul,
Actually I have a question about region based cflow templates. How do
I use them?
I ask because, with region, as soon as I type first letter of 'if' or
'try
;;; intellij.el --- edit current file in intellij
;; Author: Sandip V. Chitale
;; Created: Sep 03 2003
;; Keywords: open file intellij
;; This file is not part of GNU Emacs yet.
;;; Commentary:
;;
;; This package enables opening file in IntelliJ from emacs buffer.
;;
;; Background:
;; IntellJ
Marcel,
I think I have a solution for your issue:
ISSUE
I've got a problem with jde's if-template. F.e. I want to write
if (a == b) {
}
However, when I type `i' - `f' - SPACE, this here happens:
if ( [cursor]) {
}
As you can see, there's a space before the cursor. This space does not
and quoting
with C-q does the job.
HTH,
FRC
/FRC post
-Original Message-
From: Chitale, Sandip V
Sent: Wednesday, September 17, 2003 12:08 PM
To: '[EMAIL PROTECTED]'; 'Paul Kinnucan'
Cc: '[EMAIL PROTECTED]'
Subject: if template
Marcel,
I think I have a solution for your issue:
ISSUE
I would also like if the JDE could help me find classes by using completion, e.g if
I have classes called MyClass and MyOtherClass, I would just type My and JDE could
help me find those
classes. I know JDE uses reflection to find classes so I have to type the exact
name, but I can not
Look in:
jde-compile-run-server
defmethod in jde-compile.el
There you will see that it runs the java compiler server in an inferior
beanshell.
(bsh-buffer-eval
(oref 'jde-bsh the-bsh)
(concat
(format
jde.util.CompileServer.compile(%s);
arg-array)
I think what plalleme is looking for enumeration of all classes/interfaces (java types
in general) on the classpath. I think the:
jde.util.JdeUtilities
jde.util.ProjectClasses
or in general jde.util.*
classes deals with that. However I think there is no method to enumerate the ALL types
on
I guess we don't have to list each type of refactoring. We could get the
readymade list from Eclipse or IDEA and then prioritize the list.
Another cool thing in these IDEs is a notion of Quick Fixes, auto naming
of local variables etc.
Here are the links:
Eclipse:
Refactoring:
of quick fix and not refactoring. This could
be easily implemented
in Emacs lisp + some help from Semantic.
Sandip
-Original Message-
From: Paul Kinnucan [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 30, 2004 12:39 PM
To: Chitale, Sandip V
Cc: Paul Kinnucan; [EMAIL PROTECTED]
Subject: RE
Look into font-lock-add-keywords.
Details:
C-h f font-lock-add-keywords RET yields
-
font-lock-add-keywords is a compiled Lisp function in `font-lock'.
(font-lock-add-keywords MODE KEYWORDS optional APPEND)
Add highlighting KEYWORDS for MODE.
MODE should be a
20 matches
Mail list logo