From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Liu Newsgroups: gmane.emacs.help Subject: Re: java develeopment Date: Wed, 20 Mar 2013 19:31:53 +0800 Message-ID: References: <1363702351211-281263.post@n5.nabble.com> <86a9py4a3s.fsf@fastmail.fm> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1363779165 10120 80.91.229.3 (20 Mar 2013 11:32:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 Mar 2013 11:32:45 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 20 12:33:11 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UIHGX-0004kD-BC for geh-help-gnu-emacs@m.gmane.org; Wed, 20 Mar 2013 12:33:09 +0100 Original-Received: from localhost ([::1]:33782 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIHG9-0004aY-UF for geh-help-gnu-emacs@m.gmane.org; Wed, 20 Mar 2013 07:32:45 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37377) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIHFs-0004aO-Sd for help-gnu-emacs@gnu.org; Wed, 20 Mar 2013 07:32:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UIHFr-00031a-IA for help-gnu-emacs@gnu.org; Wed, 20 Mar 2013 07:32:28 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:50622) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIHFr-00031R-BS for help-gnu-emacs@gnu.org; Wed, 20 Mar 2013 07:32:27 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UIHGC-0004YV-Ez for help-gnu-emacs@gnu.org; Wed, 20 Mar 2013 12:32:48 +0100 Original-Received: from 221.204.241.117 ([221.204.241.117]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Mar 2013 12:32:48 +0100 Original-Received: from sdl.web by 221.204.241.117 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Mar 2013 12:32:48 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 27 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 221.204.241.117 Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAG1BMVEUAAAA9Cgm3Hx1WWFWA gn+WmJWsrqv4+vcCAwCRl2MkAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAAAYoA AAGKATOXMFgAAAAHdElNRQfXAQwDNR+ZJmElAAABIklEQVQoz22SPW+DQAyGWUq65qasd9PNUSX4 AZHK2C1rJy5jpDS4IwRVup9dn7GNafpKIPPgzztXFSujqq1eM2n8h22oMkvxI/i9C97kRfMRUN55 dS3BrsAwBXUtMLAO4lryh8kTjOxKpQNniNxAgZOEe4bZwsDTFhKdqZRLNII4OQNHhEuq/RMkm6Cj TnnEA/fk0BorcYn5qA3oaeAxbaBOLrX+9G48NZ2Fzc2tzDM8Q+tMypEOqYHh8mAWaaK3U/cDMOT5 aMZMABgPXc7zPMs1A8DXO756GFJ/4fMEq47hTsAdn5avoxZ4ywl0c2w4Flu2Ybeyb3S+EqxX2DYA H8veJGEDTnHnrXvRaPyt+2kSfK6rfBZ2tUtfP/mR+pR6sX8BUZ/cDV7tvkoAAAAASUVORK5CYII= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (OS X 10.8.3) Cancel-Lock: sha1:QUYJC6RHsWTuJJ/iQyqxuXiP/Ac= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:89608 Archived-At: On 2013-03-20 18:52 +0800, Filipp Gunbin wrote: > I use the following (very minimal) tools: > > 1. Etags for navigation. While it's not convenient to update tag tables > frequently, it's rarely needed for me. I usually generate a single tag > table for a whole project instead of a separate one for each module. It > allows to quickly find a class/method and I'm fine with it. I am a casual java user. I use GNU Global + ggtags¹ for java. I have export GTAGSLIBPATH=/usr/local/unix/java/1.6/classes to point to the java sdk's classes source and from then on can jump to any class/method in my project including those in SDK. This solves the jump-to-definition (source code navigation) problem for me. See this screenshot: http://i.imgur.com/d430rmm.png You can get some completion (see ggtags-tag-names) from the database built by GNU Global but it won't be as good as precise code completion. HTH, Leo Footnotes: ¹ http://elpa.gnu.org/packages/ggtags.html