jde-mode with JSP pages

2003-01-07 Thread Chitale, Sandip V
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

jde font locking without jde-mode

2003-01-27 Thread Chitale, Sandip V
How do I use jde font locking mechanism to fontify a buffer without switching to jde-mode ? Any tips ? thanks, sandip

RE: jde-gen-cflow-BLAH and c-indent-defun

2003-02-07 Thread Chitale, Sandip V
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

RE: Question about emacs

2003-02-11 Thread Chitale, Sandip V
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

RE: Why the JDEE?

2003-02-21 Thread Chitale, Sandip V
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

RE: Why the JDEE?

2003-02-21 Thread Chitale, Sandip V
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

RE: Syntax error indication oon the fly....the beginning...

2003-02-24 Thread Chitale, Sandip V
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

RE: managing imports

2003-02-24 Thread Chitale, Sandip V
-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

RE: Auto Indending

2003-07-16 Thread Chitale, Sandip V
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

RE: Useful helper functions

2003-08-04 Thread Chitale, Sandip V
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

RE: Useful helper functions - region based jde-gen-try

2003-08-04 Thread Chitale, Sandip V
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

If you also use IntelliJ...Emacs and IntelliJ integration...

2003-09-03 Thread Chitale, Sandip V
;;; 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

if template

2003-09-17 Thread Chitale, Sandip V
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

RE: if template (Better solution than hacking jde-gen-define-abbrev-template)

2003-09-18 Thread Chitale, Sandip V
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

RE: Syntax checking the current buffer

2003-10-15 Thread Chitale, Sandip V
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

RE: integrating the eclipse compiler with jde

2003-10-17 Thread Chitale, Sandip V
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)

RE: Trans.: Class finding

2004-06-15 Thread Chitale, Sandip V
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

RE: refactoring in jdee

2004-09-30 Thread Chitale, Sandip V
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:

RE: refactoring in jdee

2004-09-30 Thread Chitale, Sandip V
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

RE: adding new keywords

2004-11-09 Thread Chitale, Sandip V
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